I have a template variable in Javascript as below
var TABLE_ROW = '<tr class=>'
+ '<td><input id= type="checkbox" class="mysqlListCheckbox" checked="checked"/> <span style="padding: 7px;"></span></td>'
+ '<td><p class=text-warning></p></td>'
+ '</tr>';
At this moment ID is always checked but I want to modify it such as ID should not be checked/selected if COMMENTS is empty.
I am new to Javascript template variables. Any reference links to achieve this are highly appreciated.
Thank you.
Aucun commentaire:
Enregistrer un commentaire