Re: [jQuery] Re: .hide and .show div's

2009-11-11 Thread Joe Moore
Oops! Thanks for the catch! The other thing to understand is that this wont work for browsers that have JavaScript disabled. On Nov 11, 2009 9:16 AM, "MorningZ" wrote: > Oops. got the selector wrong. It should be: > $( function() { > $(div[class^=hide-BAT].hide(); ... You still didn't get it rig

[jQuery] Re: .hide and .show div's

2009-11-11 Thread David pr
Thank you all i've (you guys) crack it.

[jQuery] Re: .hide and .show div's

2009-11-11 Thread MorningZ
> Oops. got the selector wrong. It should be: > $( function() { > $(div[class^=hide-BAT].hide(); > }); > Joe You still didn't get it right :-) $("div[class^=Hide-BAT]").hide(); To original poster: if you want "fast", then you can't beat CSS with jQuery's hide method have like: . a