14 Replies Latest reply: Sep 10, 2014 9:26 AM by HarryF RSS

    How to pass the column value to javascript function

    C Shekhar

      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..