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 pass the column value to javascript function

C ShekharAug 8 2014 — edited Sep 10 2014

My select query

select empno,ename,dept,sal

from emp;

my sal column is text column (text field) (user can edit the salary)

when user double clicks on the sal column i want to call javascript function

and pass the value of empno.

i added below function in

Report Attributes=>Column Attributes =>Element Attributes

ondblclick=f_modalwindow(#empno#);

Value is not captured in javascript function.

but if i pass hard code value like

ondblclick=f_modalwindow('123');

value is capture in javascript function.

Thanks in advance..

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 8 2014
Added on Aug 8 2014
14 comments
4,249 views