I'm using v1.3.2 of jqm. Upgrading to 1.4 is not an option(I know the feature I want is in there now, it's not stable enough yet though, and in my tests is going to require a bunch of changes on my end I don't have time for right now).
I'm trying to add in the listview filter ability to select menus.
Here's an example of what I'm hoping to end up with:
The jqm generates a listview in a popup, now it's just the problem of adding in the data-filter="true" so it knows to add in that feature when the listview is created(there's probably some css to deal with too, but I can handle that later).
I have found in jqm where I can change one line, and it does what I want(basically).
Now I'm wondering the best way to implement this change that will cause the least ammount of problems down the road. I know altering jqm core is not the answer, so what is?
I did some searching around, and this looked to provide me with an answer, but I'm not sure which approach to use. I think approach 2 is what I should be looking at.