![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Sep 2004
Posts: 6
Rep Power: 0
![]() |
Hi,
the netscape navigator to disable text fields. the use of : if(navigator.appName == "Netscape") document.busForm.busRoom.disabled = true; : : should work. Netscape java error handler gives me busForm undefined yet its properly defined in the html, IE recognizes it. Is their another way we can get away with this? Thanks in advance! |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
For the code to work in Netscape, you'll have to write:
document.getElementById(busForm).busRoom.disabled = true; One more thing, though: why do you want to disable the textbox in Netscape? You know that's alienating potential visitors, right? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|