Bind events directly to the ol
or ul
element. Use jQuery Mobile's virtual events, or bind standard JavaScript events, like change, focus, blur, etc.:
$( ".selector" ).bind( "change", function(event, ui) {
...
});
The listview plugin has the following custom event:
create
triggered when a listview is created
$( ".selector" ).listview({
create: function(event, ui) { ... }
});