jQuery basics
jQuery basics
I'm a first time jQuery user and I'd like to confirm that I understood correctly some of the basics. My assumptions:
* With the default settings and no other libraries around, jQuery() and $() are synonyms. I can freely swap them in code examples.
* The ready() event can't be assigned to anything else than jQuery(document). I cannot do something like jQuery("ul#menu").ready() to enable my drop-down menu as soon as it's loaded.
* jQuery(document).ready(myFunc) and jQuery(myFunc) are synonyms.
Is this okay?
One more question: it seems that wrong code will not trigger any error message in Firebug. What's the recommended way of debugging?
Thank you in advance,