Add listview filter an attribute

Add listview filter an attribute

It's been a long time since I've looked inside the last time.

So I want to add the attributes type="text" and  pattern="[0-9]*" to my listview input.
I tested some variations but it stil not works.

I use:

jQuery 1.9.1
Mobile 1.3.1

and i tested:

  1. $('[data-role=page]').on('pageshow', function (event, ui) {
  2. $('.inputText > input').attr('test');
  3. });

  4. $(document).on("pageinit", function() {
  5. $("#ec-index").attr('test')
  6. });

Unfortunately, I am not really familiar with it.

Best regards

Psycho0verload
    • Topic Participants

    • abo