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!

Using a jQuery selector to hide menu bar in a dynamic action

semicoastalOct 29 2018 — edited Oct 31 2018

I have a page with several regions and menu in the menu bar. When the user comes into the page, I want to test whether they have permission to access the page. If they do not, I want to hide the normal regions and display an error region instead. It will have a mechanism for them to request permission to access the page. Using a dynamic action, I can test for the permission and hide the regions. That works fine. However, I want to hide the menu bar as well as the regions. I have tried using the jQuery selector mechanism to do this. The static id for the menu bar is "2_menubar", but when I choose the Hide action and try to include the id, it doesn't work. I suspect I am doing something wrong with the syntax of the selector. I have looked at many examples, but I haven't seen anything that clearly shows how to format the selector. I've tried a bunch of options. Or am I doing something else wrong? A screenshot it attached.

[APEX 18.2.0.00.12]

Comments
Post Details
Added on Oct 29 2018
4 comments
501 views