JQuery templates: pass parameter to function
So, I have this jQuery template that calls a function:
<script id="Fred" type="text/x-jQuery-tmpl"> <td>${functionX()}${Field2}</td> </script> It works great. but now I want to pass a parameter to it, but the following will not work.
<script id="Fred" type="text/x-jQuery-tmpl"> <td>${functionX(${Field1})}${Field2}</td> </script> Any suggestions?
+4
3 answers