![]() Preserved Topic: Access all elements associated with a certain style? (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Lebanon |
![]() code: <style>
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Oh, i definitely posted something that does that a while ago... the question is, can I find it in the archives... |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Here it is |
Paranoid (IV) Inmate From: Lebanon |
![]() No Slime! that doesn't answer my question! code: <a id="a1" class="cl1">adsda</a>
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Hmm. That's tougher... You want an array of objects that have a certain class... there may be a way to do that, I can look into it later if no one else knows how... |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() Well, we've done Mouseover buttons via CSS change. Dunno if this does what you're asking..... |
Paranoid (IV) Inmate From: Lebanon |
![]() Pugzly, very nice one! |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() The question is, how to filter them. I saw recently someone mentioned a setAttribute() function. Is there a getAttribute() function? You could use getAttribute("class"). |
Paranoid (IV) Inmate From: Canada, Toronto |
![]() |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |