Is there any JQuery method/implementation that equivalent to YUI.getElementsBy?
YUI.getElementsBy ( method , tag , root , apply , o , overrides )
thanks,
Simon
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.
The description of that method is as follows:
You can replicate that functionality in jQuery with the
filtermethod, and if you want to return an array of HTMLElement objects, you can useget(otherwise you will have a jQuery object):In the jQuery version, both
tagandrootarguments would be combined into the selector.