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!

capture click of collapsible region - universal theme - apex 5

pam499057Feb 2 2017 — edited Feb 9 2017

I have a List Region with List Template of Cards

that has a static ID = pg2_stid_section_1

I am trying to capture the click event of the collapsible/expandable region.

I tried creating a dynamic action with

Event=Click

Selection Type = jQuery Selector

jQuery Selector = $('#pg2_stid_section_1 button.t-Button--hideShow')

The dynamic action does not fire when I click the region icon.

I want to save either a 'C' or "E' in the database when the user clicks the region.

Then on page load, I retrieve that value, and collapse/expand region in page load dynamic action.

Can't seem to get the syntax correct on the jQuery Selector.

Could also use a page unload dynamic action, but do not know how to capture if the region is collapsed/expanded.

I have read thru the article

https://svenweller.wordpress.com/2016/01/21/apex5-ut-remote-control-for-collapsible-regions/

I guess I am missing something because that is what I understand the article

is describing as the jQuery Selector.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 9 2017
Added on Feb 2 2017
3 comments
1,645 views