|
<html>
<body>
<script>
function function1() {
document.all.myButton.disabled = true;
}
function function2() {
document.all.myButton.disabled = false;
}
</script>
<input id="myButton" type="button" value="Disable" onClick="function1();">
<input type="button" value="Enable" onClick="function2();">
</body>
</html>
|
Tags: Button, Button disabled Example, Button laquo Form Control laquo JavaScript DHTML, Code, Form Control, JavaScript DHTML
Posted in Uncategorized |
This entry was posted
on Thursday, June 25th, 2009 at 10:58 pm and is filed under Uncategorized.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.