Howto use multiple line html string in append or something like that:
1. define variable:
2. use variable
1. define variable:
var tablefooter = '<tfoot><tr>'
tablefooter += '<td><input name="tfoot input" value="Suche" /></td>'
tablefooter += '<td><input name="tfoot input" value="Suche" /></td>'
tablefooter += '<td><input name="tfoot input" value="Suche" /></td>'
tablefooter +=' </tr></tfoot>';
2. use variable
oTable.append(tablefooter);
Keine Kommentare:
Kommentar veröffentlichen