Bryan Tuffin
01-07-2003, 04:55 PM
how do I use javascript to disable or enable a button so that it can be clicked or not clicked
|
Click to See Complete Forum and Search --> : button disable enable Bryan Tuffin 01-07-2003, 04:55 PM how do I use javascript to disable or enable a button so that it can be clicked or not clicked swon 01-07-2003, 05:17 PM For example: document.YourForm.Yourbutton.disabled=true;//disabled; document.YourForm.Yourbutton.disabled=false;//enabled; AdamBrill 01-07-2003, 05:18 PM This will disable it: document.NameOfForm.NameOfButton.disabled=true; then, change it to false to enable it. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |