According to the discussion comments here: http://api.jquery.com/append/ the .append() of a script evaluates the script, then discards it. IF the script adds jQuery behavior such as for example:
$('#mything').click().addClass('hasclass');
is that event management retained (espcially if complex chaining gets added), or discarded, and more importantly, if it IS discarded does cleanup happen or are there potential leaks there?
Are there examples of best practices regarding this type of script management?