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!

button disabled or not

696632May 27 2009 — edited Jun 2 2009
I'm trying to disable a button, but although the button changes appearance it is not disabled, I can still click it and it still works. So I tried to work around it by checking if the button is disabled or not before submitting, but then it does nothing. Please help!
This is my javascript function:

<script type="text/javascript" language="javascript">
function f_disableButtonSubmit(pThis, pRequest)
{
disItem = document.getElementById(pThis);
a = disItem.disabled;
if (a==false){
html_disableItem(pThis,true);
doSubmit(pRequest);
}
}

</script>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2009
Added on May 27 2009
8 comments
1,212 views