Hi,
I am using - jqm1.3, my scenario is this
I am able to construct and display the search listview via ajax / GET attached to a text search input item
- '<li data-theme="c" data-iconpos="notext"><a class="myfind" data-ajax="false" href="#" id="'+res[i]+'">'+names[i]+'</a></li>'
- // names is json return
I am struck at these following 2 issues,
a) to populate in text item after I click on the listitem and listview hides ,
b) or when data-clear-btn="true"
I tried this but no help
- $('li .myfind a').on('click', function(e){
- e.preventDefault();
- $("#myfindtxt").val($(this).attr("id"));
- })
Please guide me on this . Also, can you guide if I can choose to ignore listviewbeforefilter over my list view construction. I have just used it on pageinit.
PS:
a) I am using above listview in data-role="popup".
b) data-clear-btn="true" , some browser deliberate to press tab twice for next item navigation. Is this expected behaviour?
c) There pretty good plugins out there, but admin constraints on my side.
I would really appreciate for a quick help.
Regards
Srikrish
"Learning continues..."