Tips and Tricks in a world of Mix

Archive for 23/04/2012

JQuery Mobile: Fire Mobileinit Event

Many people asked that the Mobileinit event didn’t work. Simplicity just you need to follow this sequence:

<link rel="stylesheet" href="; />
script src=""></script>
$(document).bind("mobileinit", function () {
            alert(‘mobileinit is fired’);
script src=""></script>
Hope that helps.


Tag Cloud

%d bloggers like this: