How To Use Jquery-mobile Listview To Link To Inner Pages With Urlvars? October 20, 2023 Post a Comment I have a problem with jquery-mobile listview. I some inner pages (#page1, #page2,..) into the same html file. e.g. in #page2, I have a jquery listview object: Solution 1: Try the following:$.each(data, function(index, record) { $('#itemList').append('<li><a href="#page2?id=' + record.id + '">' + record.id + '</a></li>'); }); CopyYou don't have to repeat code since you are already looping over that same piece inside the each function. Baca JugaHow To Add Fade In And Fade Out When Changing Between Texts In JavascriptReplace Image File Name By JqueryAbout Script Tags Inside Form Tags Share You may like these postsHow To Add An Active Class On A Current Menu Item Page? HtmlExport Html + Css To Pdf Using JavascriptTrying To Color A Cube In Three.jsEvent Handler Called With Wrong Context Post a Comment for "How To Use Jquery-mobile Listview To Link To Inner Pages With Urlvars?"
Post a Comment for "How To Use Jquery-mobile Listview To Link To Inner Pages With Urlvars?"