Just wondering how can I pass some parameters to the JQuery Mobile page?
for example
<div data-role="page-content">
<ul class="gallery">
<li><a href="#mypage?01"><img src="1.jpg"/></a></li>
<li><a href="#mypage/02"><img src="2.jpg"/></a></li>
</ul>
</div><!-- /content -->
As you can see, I tried # and ? However they don’t work
Thanks
You can achieve it by changing the following things.
I. Remove the
<a>II. Internal page to external page
III. Bind “Click” event of image to a function that calls the page
IV. In the MyPage.html use this
You can follow detailed Tutorial Here
You can also view this Question Here for some variations. Look at the answer