I have a web page. When this web page is loaded, I want to execute some JavaScript. This JavaScript uses JQuery. However, it appears that when the page is loaded, the jQuery
In general, you just use the following basic "document loaded" test in jquery. Straight from the beginners jquery tutorial:
$(document).ready(function() {
// do stuff when DOM is ready
});
I can think of any reason why this should not work, there are certainly millions of sites using jquery that relies on precisely this bit of code.