Monday, April 23, 2012

jquery mobile loads script twice

I'm trying to load some jquery javascript when my page is loaded, but it's always loaded twice. I'm using jquery 1.7.2 and jquery mobile 1.1.0. I tried this 3 different methods, but it's always loading the script twice.

$(document).bind("ready", function() { }
$(document).ready(function() { }
$(document).live('pageinit',function(event) { }

No comments:

Post a Comment