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:
- $('[data-role=page]').on('pageshow', function (event, ui) {
- $('.inputText > input').attr('test');
- });
- $(document).on("pageinit", function() {
- $("#ec-index").attr('test')
- });
Unfortunately, I am not really familiar with it.
Best regards
Psycho0verload