I have a template field inside which i have written some html code.
now onClick of template field link i want to pass id to the onClick function.
I am trying this ,
onClick = “openPrimaryTab({{{Id}}})”
but i am getting error -
Uncaught ReferenceError: a1x190000007F1YAAU is not defined
And if i use {{{Id}}} in javascript function , i am getting same Id for every record , whereas i should get different id according to the row clicked . Hence i thought of above solution,but it is giving error.
Can someone help to reslove?
Question
How to pass Id in onClick function inside template field
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.