jquery-xml

jQuery Parse XML display in jQuery Mobile list UL UL returning last item in XML only

浪子不回头ぞ 提交于 2019-12-07 09:00:57
问题 I am using jQuery Mobile 1.1.1 and jQuery 1.7.1. JQuery mobile can have a nested list and on click can show the next ul in another screen. See this example: http://jquerymobile.com/demos/1.1.1/docs/lists/lists-nested.html#&ui-page=0-8 I am trying to do this by parsing an XML file of data. I have no problem listing the contents of the list, however, on click of the FIRST parent item, i always get the child of the LAST parent item. Looking in Firebug, I can see that all the Children area there,

jQuery Parse XML display in jQuery Mobile list UL UL returning last item in XML only

你说的曾经没有我的故事 提交于 2019-12-05 12:49:27
I am using jQuery Mobile 1.1.1 and jQuery 1.7.1. JQuery mobile can have a nested list and on click can show the next ul in another screen. See this example: http://jquerymobile.com/demos/1.1.1/docs/lists/lists-nested.html#&ui-page=0-8 I am trying to do this by parsing an XML file of data. I have no problem listing the contents of the list, however, on click of the FIRST parent item, i always get the child of the LAST parent item. Looking in Firebug, I can see that all the Children area there, but the relationship is getting messed up somehow... How can I click on the first parent LI and get