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!

jquery triggeringElement value not working

SnoeskyOct 14 2014 — edited Oct 14 2014

Hi All,

I have a tabular form in APEX 4.2.

I want to do something with the value of a column. So i tried to get the values of that triggering field using a DA with jquery selector.

On a column i have defined a Dynamic Action:

Event                  =  " Click".

Selection Type     = Jquery selector

Jquery selector    = td[headers='AANTAL']

True action starting the following javascript code:

var lwaarde_aantal = $(this.triggeringElement).val();

alert(" waarde = " + lwaarde_aantal);

returns an alert  waarde = empty string

While

var l_element_aantal = $(this.triggeringElement).closest("tr").find("td[headers='AANTAL'] input:visible");

alert(" waarde = " + lwaarde_aantal);

returns the correct value "waarde = 5"

Does anybody knows why this happens?

This post has been answered by Tom Petrus on Oct 14 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2014
Added on Oct 14 2014
2 comments
953 views