want to disable a button onload of a form - Sorry repost
781850Aug 30 2010 — edited Sep 8 2010I want to disable a button called 'Reactivate' on a form upon onload of the page.
Here is the Javascript I am using.....sorry my first attempt at Javascript.
<html>
<head>
<script type="text/javascript">
function disable()
{
document.getElementById.("Reactivate").disabled=true;
}
function enable()
{
document.getElementById("mySelect").disabled=false;
}
</script>
</head>
<body onload="disable()">
</body>
</html>
Thanks,
Chris
Edited by: user3391863 on Aug 30, 2010 11:48 AM