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!

DA on Tabular Form field with jQuery Selector

Rabbit (user528481)Nov 6 2015 — edited Nov 7 2015

I'm trying to sum up values of a column in my Tab Form and display the total in the header of the form region. Found many helpful suggestions, but i'm kind of stuck on the very simple task of adding the Change DA to the Tab Field. The input field name is f05.

I've created a DA on Change using jQuery Selector and it executes a simple alert("f05 has changed") JavaScript to check if the DA fires, which it unfortunately doesn't.


input[name="f05"] doesn't work

[name="f05"] doesn't work

using ' instead of " doesn't work

i've tried every partial name matching as per jQuery API documentation, e.g. name*=, name|= etc, they all don't work


input on it's own throws dozens of alert messages, so i know the DA itself works.


Some other ideas were a custom CSS class and select it with just .clsTBVALUE, but that doesn't work either.


I'm running the latest Apex and most examples I've found are Apex 4 or even older, so i'd appreciate some examples specifically for Apex 5. End result is executing a small doSum function and using the Set Value of the DA to set a hidden value which is used in the region title.




This post has been answered by Rabbit (user528481) on Nov 7 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 5 2015
Added on Nov 6 2015
2 comments
494 views