You do not need a recursive function to find an element in a document by its id.
Just use
var element = document.getElementById('someID');
Cal Who wrote:
Javascript code to recursively search for a element given the element's Id
22-May-10
I need Javascript code to recursively search for a element given th
element's Id so that I can modify a elements attributes
I do not use JQuery but I believe that once when I was searching th
Internet for something else I saw that JQuery has a function called $ tha
did just that. And the author showed the Javascript code from that library
I am not sure if that is what I need but now that I want it I cannot find it
Bottom line: Can you point to (or supply) Javascript code to recursivel
search for a element given it is Id
Thanks in advance
Previous Posts In This Thread:
Submitted via EggHeadCafe - Software Developer Portal of Choice
Free Online Courses Available for Eggheadcafe.com Users
http://www.eggheadcafe.com/tutorials...ses-avail.aspx