Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

want to disable a button onload of a form - Sorry repost

781850Aug 30 2010 — edited Sep 8 2010
I 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
This post has been answered by Sam.K on Sep 2 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2010
Added on Aug 30 2010
28 comments
6,426 views