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!

disabling a button

571157May 15 2007 — edited May 16 2007
Hi
I am having a button and I try to make it as enabled while loading..For that,I have used the following script code..
<script type="text/javascript" language="javascript">
function disableobj(obj)
{
document.getElementById(obj).disabled=true;
}
</script>
I called that script functin in load event as
onload="disableobj('p1_x');"
This code is working for text item but not for a button..Can anyone say why it is not working for a button?


Thanks in advance

Fazila
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2007
Added on May 15 2007
16 comments
815 views