Link in jquery mobile
Link in jquery mobile
Hi guys,
I have this resource
- <div data-role="footer" data-position="fixed" data-theme="b">
<a href="listingresults.html" data-role="button" data-theme="b" data-icon="search" id="results">
<span class="ui-btn-text">Results</span>
</a>
</div>
in listingsresults.html i have an alert message but this message isn't works, I must refresh the page for the alert shows.
- $(document).on('pageinit', function(){
alert('test');
});
Thanks