/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var el = ['<li id = "services_item' + service_id + '">', '<span class="left">Title</span>', '<span class="right"><a href="#" onclick="remove();">Remove</a></span></li>'].join("\n");