4 ms·
JQuery does the same. $("#element").html($("#element").html() + custom_html);
by dannyr 16y ago
JQuery does the same.
$("#element").html($("#element").html() + custom_html);
- IgorPartola 16y agoYes, and I very much like that API. It's concise which is a huge win when you have to read that code later.
- spicyj 16y agoCan't you just type $("#element").append(custom_html)?