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!

How to remove Close Icon in Model Dialogue in APEX 18.1

Sai SandeepAug 29 2018 — edited Aug 30 2018

Hi All,

Hope you doing great 

I want to remove "Close Icon" in Model dialogues,

I have included below lines of code in "Page load" section it is not removing close icon, where as same code working fine when executing in console.

Code :

var elems = document.getElementsByClassName('ui-button ui-corner-all ui-widget ui-button-icon-only ui-dialog-titlebar-close');

for(var i = 0; i < elems.length; i++) {

elems[i].style.display = 'none';

}

Can you help me how to remove the close icon in model dialogue, where i have to include logic to remove icon?

Regards,

Sai Sandeep.

This post has been answered by Pierre Yotti on Aug 29 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2018
Added on Aug 29 2018
12 comments
1,019 views