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
});
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment