21 2 / 2011

The great confusion about .text() and .html() in jQuery

I found myself always getting confused about .text() and .html() methods jquery offers. This was occurring on a consistent bases with new projects. I stumbled into this article that cleared it right up for me. http://www.devcurry.com/2011/02/text-and-html-in-jquery.html