I experienced with JQuery and new to YUI.
I’m looking for YUI’s equivalent of the JQuery “$(document).ready”.
I found “onDOMReady”. If I have a .JS document with a large number of functions, what is the right way to wrap them all in “onDOMReady”?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I usually do something like the above. Otherwise you can do things like the following if you just need a specific element to be present