Adding onclick event to element BEFORE appending to the DOM

Printable View