How To Use Jquery-mobile Listview To Link To Inner Pages With Urlvars? September 26, 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 JugaAjax Submit NiceditCss Flexbox Display IssueJquery - Change Color Of String In A Text, Ignoring 's Between Share You may like these postsWhy Data-position="fixed" Data-tap-toggle="false" Not Work?How I Can I Delay The Expansion Of A Collapsible Until Its Content Is Fetched?How Can You Most Easily Pass Url Arguments/data Between Jquery Mobile (jqm) Embedded/internal Pages?Prevent Page From Scrolling To Top 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?"