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!

Queryselector doesn't work in Modal

MbitJun 13 2025 — edited Jun 13 2025

Hello,

i am trying to get a DOM-Element from a Modal Page in version 24.1. In this case it is the titlebar.

To retrieve this element I use the following simple code: $(".ui-dialog-titlebar")

When I execute this in the browsers console, I get my desired value.

But I want to do this in a dynamic action with the event “Page Load”. Unfortunately this is not working. It just doesn't find anything. I also delayed the execution and tried it with different dynamic actions but it just doesn't work. With the document.querySelector it didn't work either.

Can anyone explain this? Is this a bug? Is there a workaround?

Thanks.

Kind Regards

This post has been answered by InoL on Jun 13 2025
Jump to Answer
Comments
Post Details
Added on Jun 13 2025
3 comments
396 views