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!

Disable Apex - Button using PL/SQL code

NS150883Jan 6 2016 — edited Jan 6 2016

Hi All,

I am using a PL/SQL code to get a value from DB, based on the value I need to disable the Buttons on the Page.

I tried below code

IF :P2_FLAG == 'N' THEN

htp.script('document.getElementById("SUBMIT").disabled = false;', 'Javascript');

END IF;

It says screws the page saying - The requested URL /apex/f was not found on this server

I am using Apex 5.0, please need your inputs.

This post has been answered by Sunil Bhatia on Jan 6 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 3 2016
Added on Jan 6 2016
3 comments
6,774 views