On 26 Nov., 01:53, Brett <[EMAIL PROTECTED]> wrote: > So I guess what we should do is, try and get a list of possible ways > to run jquery ( I know of $(function(){ in a js block of code, > document.ready , and a very buggy window.onLoad() - Even if it will be > fixed in upcoming versions hopefully, I guess a lot of people will > still be running older versions of jQuery.
$(document).ready(function () { ... }); ia absolutely the same as $(function() { ... }); the latter is just a shorthand for the first idiom. window.onLoad may have been buggy, because it should read all lowercase, but one or the other browser may interpret that nonetheless. window.onload = function() { ... }; --Klaus