Re:I've never made a public API before. Feedback on this one?
by spicyj on Wednesday June 16, 2010 @04:31PM
(#1436926)
Can't you just type $("#element").append(custom_html)?
Re:I've never made a public API before. Feedback on this one?
by IgorPartola on Wednesday June 16, 2010 @03:00PM
(#1436621)
Yes, and I very much like that API. It's concise which is a huge win when you have to read that code later.
$("#element").html($("#element").html() + custom_html);