Recently I\'ve been doing a lot of modal window pop-ups and what not, for which I used jQuery. The method that I used to create the new elements on the page has overwhelming
Someone has already made a benchmark: jQuery document.createElement equivalent?
$(document.createElement('div')) is the big winner.
$(document.createElement('div'))