RE: Traversing through DOM, identifying td's and manipulating
"Maninder, Singh" <[email protected]> Thu, 2 Mar 2006 21:35:40 +0530
| Newsgroups | gmane.comp.web.dom.wdf |
|---|---|
| Message-ID | <4D8B620F4FDA414982B23A3E7F6A8EF11AAD9BE6@hydmail01.hyd.corp.int.untd.com> |
Thanks Scott.
The bgcolors hardcoded were just as an example, I was using classes only :)
And I did go to using the Behaviour.js file.
I also looked into using the $$ function of the prototype library.
Something like -
$$('table#main td.active').each(updateClassName(elm, newClass))
Find all <td> elements with class "active", all inside the <table> with id "main" and update their class to notactive.
I haven't decided which one to use, will check out the performance and then decide what to go ahead with.
Thanks everyone for your help!
This forum, as always, rocks! :)
-Mandy.
[Non-text portions of this message have been removed]
Unsubscribe
[email protected]
List info
http://www.quirksmode.org/dom/list.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wdf-dom/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/