[jQuery] Simple Selector Question -- Context

2008-12-03 Thread Joe
If I have the following: var pError = $('p.error'); Then I can do the following with no problem: pError.text('lorem"); Yet, I want to check for the paragraphs that have the class "error" that are visible, I would think it is something like this: var visibleError = $(':visible', pError); Howe

[jQuery] Simple selector question

2007-04-09 Thread Geoffrey Knutzen
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=c