So I\'ve seen three ways to add html/DOM elements to a page. I\'m curious what the pros and cons are for each of them.
1 - Traditional JavaScript
If you're working with large amounts of HTML you want to reuse then I'd suggest you look at: http://api.jquery.com/jQuery.template/ which is final, but will be replaced by something better.
I use it in a production environment and it's great, as for smaller pieces of html what sp. said is the best way