I recently discovered the insertAdjacentHTML method and it’s a god-send. Being such I wanted to know how well this method is supported. Does IE have it? What about Chrome?
I recently discovered the insertAdjacentHTML method and it’s a god-send. Being such I wanted
Share
I highly recommend this article by John Resing – http://ejohn.org/blog/dom-insertadjacenthtml/
Basically, it works on IE since IE4, and it is going to be a part of HTML5. There are also few limitations on which HTML elements you want to call this code on.