Ah, got it.

I tripped myself up again, because on my test page, all of the tables were
collapsed. 

 

Thanks for following up on this. You probably saved me a bunch of
troubleshooting about a month or two from now

 

  _____  

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Karl Swedberg
Sent: Monday, April 09, 2007 3:55 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Simple selector question

 

On Apr 9, 2007, at 4:31 PM, Geoffrey Knutzen wrote:





Again, 

Press send, find answer.....

I answered my own question

$("table").css("borderCollapse","collapse")

 

I had led myself down the wrong path and was totally lost

 

Thanks anyway

 

 

Hi Geoff,





that's fine if you want to *set* the borderCollapse property to "collapse"
for all tables. But if you are trying to select them, using .each() with an
if statement inside or Brandon's .filter() suggestion would be want you
need.

 

Cheers,

 

--Karl

_________________

Karl Swedberg

www.englishrules.com

www.learningjquery.com

 





 

 

Reply via email to