I was wondering if there was a way to disable buttons on a form via
javascript that works in Netscape? Syntax?
-Steve
If you want to re-enable the button, you should save the onclick handler:
saveit=document.daform.dabutton.onclick;
Before you save it, you should check that the handler is not currently null.
You wouldn't want to lose the handler by "disabling" the button twice. (Also,
make sure you save it to a global variable.) To enable the button again, just
restore its onclick handler:
document.daform.dabutton.onclick=saveit;
=-=-=
Steve
-=-=-
"Steve Gomez" <gom...@infinity-software.com> wrote in message
news:ekXKUR$z$GA....@cppssbbsa02.microsoft.com...