Balajiprasad's useful codes
Important codings & concepts in web & window applications using microsoft technologies.
Thursday, October 4, 2012
Jquery - Data Role page show event
For mobile Jquery to hit event on every data role page loads
HTML:
<
div
data-role
="page">
//your page
</
div>
JQuery:
$(
"div[data-role*='page']"
).live(
"pageshow"
,
function
() {
//your code goes here
});
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)