jesh Posted July 25, 2008 Share Posted July 25, 2008 That is give me the error: getElementById is not defined - box = getElementById (id);Unless you made a function like so:function getElementById(someid){ return document.getElementById(someid);} You're going to need to use: box = document.getElementById(id); Link to comment Share on other sites More sharing options...
jeffman Posted July 25, 2008 Share Posted July 25, 2008 Oops. I literally copied and pasted skaero's original routine so I could modify it. But I didn't notice the error. I'm editing that post for posterity. Link to comment Share on other sites More sharing options...
skaero Posted July 26, 2008 Author Share Posted July 26, 2008 Thanks for all your help its working now! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.