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!

item.show(), item.hide() not working?

Hello
I'm working with Apex 19.2 and I would like to simply show/hide page items (in Javascript). While setting a value in the item show() and hide() seems not to work:
apex.item( "P31_MESSAGE" ).setValue('this works');
-> Works
// Show a page item that is of type "Hidden"
apex.item( "P31_MESSAGE" ).show();
-> Item won't be shown
// Hide a page item that is of type "Text Field" or "Display only"
apex.item( "P1_MESSAGE" ).hide();
-> Item won't be hidden

What am I doing wrong? This should be fairly simple...

Comments

Processing

Post Details

Added on Jan 4 2021
5 comments
6,522 views