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 wrote:
> You could try:
>
> $('*', myJQObj).hide();
$('#id')
.add(myJQObj)
.add(myotherJQObj)
.hide()
On Feb 24, 8:51 am, Bisbo 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 but neither works.
>
> $( $('#
> 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 select
You could try:
$('*', myJQObj).hide();
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Tue, Feb 24, 2009 at 4:51 PM, Bisbo 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
4 matches
Mail list logo