Thread: Javascript
View Single Post
Old Sep 14th, 2004, 11:03 AM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
For the code to work in Netscape, you'll have to write:
document.getElementById(busForm).busRoom.disabled = true;
The getElementById thing retrieves a pointer to the field - Netscape doesn't create them automatically.

One more thing, though: why do you want to disable the textbox in Netscape? You know that's alienating potential visitors, right?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote