Hi Geoff,
You should be able to loop through he tables with .each() and see if
they have the css property border-collpase set to "collapse" and if
so, do something. The following should work -- inside a $
(document).ready(), of course:
$('table').each(function() {
if ($(this).css('borderCollapse') == 'collapse') {
//do your magic
};
});
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 9, 2007, at 4:26 PM, Geoffrey Knutzen wrote:
How would one select all tables in a document that have the css
property
border-collapse set to collapse?
My goal is to make a work around for a FF bug
(https://bugzilla.mozilla.org/show_bug.cgi?id=244135) where borders
disappear sometimes. I am hoping for find all tables with
border-collapse=collapse, set them to separate then set them back to
collapse again.
Thanks
-Geoff