add condition in jquery.tmpl.js
Solved:
Add condition in tmpl jquery and remember its have closing tag
{{if colName==''}}
<a class="hidden" href="${colName}">View</a>
{{else}}
<a class="visible" href="${colName}">View</a>
{{/if}}
Add condition in tmpl jquery and remember its have closing tag
{{if colName==''}}
<a class="hidden" href="${colName}">View</a>
{{else}}
<a class="visible" href="${colName}">View</a>
{{/if}}
Comments
Post a Comment