[jQuery] Re: Calling method on multiple jQuery objects

2009-02-25 Thread jQuery Lover
Oops, sorry. The snippet that I wrote selects all elements whitin your myJQObj, which is not much of any use... My bad... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Tue, Feb 24, 2009 at 6:01 PM, jQuery Lover ilovejqu...@gmail.com wrote: You could try:    

[jQuery] Re: Calling method on multiple jQuery objects

2009-02-24 Thread jQuery Lover
You could try: $('*', myJQObj).hide(); Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Tue, Feb 24, 2009 at 4:51 PM, Bisbo michael.waterf...@googlemail.com wrote: Hi there, I can't seem to find a way to perform the same jQuery method on multiple jQuery

[jQuery] Re: Calling method on multiple jQuery objects

2009-02-24 Thread Mike Alsup
I can't seem to find a way to perform the same jQuery method on multiple jQuery objects. I have tried using commas and passing arrays to the jQuery function but neither works. $( $('#id') , myJQObj ).hide(); $( [ $('#id') , myJQObj ] ).hide(); I know you can do this within a selector,

[jQuery] Re: Calling method on multiple jQuery objects

2009-02-24 Thread ricardobeat
$('#id') .add(myJQObj) .add(myotherJQObj) .hide() On Feb 24, 8:51 am, Bisbo michael.waterf...@googlemail.com wrote: Hi there, I can't seem to find a way to perform the same jQuery method on multiple jQuery objects. I have tried using commas and passing arrays to the jQuery function