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!

Assign a name / id to button to allow Javascript to disable / enable button

user601608Apr 15 2008 — edited Mar 24 2010
Hi,
I would like to control a button - initially( on form load) it is disabled or greyed-out. Then, under certain conditions the button is made enabled / not greyed-out - ideally this is done by Javascript that I write for that page.
In order for Javascript to do this, it needs a name / id of the button.
Is there a way of Assigning a name / id to a button that is defined in an APEX form? This button is in a Region position ( ie - does not have an associated item).
The reason for not using a button that is associated with an item is because then I cannot have the use of the APEX facility "URL redirect" to invoke Javascript.
A catch-22 situation ?!
OR: is there some other method in APEX to dynamically enable / disable a button in a Region position?
Thanks :) ... > ?:(
Mike
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2010
Added on Apr 15 2008
3 comments
4,033 views