139
rated 0 times
[
140]
[
1]
/ answers: 1 / hits: 22071
/ 13 Years ago, mon, september 26, 2011, 12:00:00
I have a jquery mobile page that uses the following code to hide a button when the page is accessed.
$('div:jqmData(role=page)').live('pagebeforeshow',function(){
$(#apply_btn).hide()
});
My problem is that the event only fires when the page is refreshed and not when arriving at the page from somewhere else in the site.
I have tried using the pageshow event and the pageinit event but it still only fires when the page is refreshed.
More From » jquery