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 call a javascript function before SQL insert action

Jen HuOct 26 2011 — edited Oct 27 2011
I have a page that will insert a new row when user clicks button 'create'. I want to check if that is a duplicate before inserting. So i put onClick="checkDuplicate()" under button attribute, however, the function doesn't get called. What is the problem?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 23 2011
Added on Oct 26 2011
2 comments
257 views