can innerHTML be replaced with something more efficient
Posted on 2013-01-08
I am currently using innerHTML to put a price inside a div.
first of all the innerHTML is screwing with my styles eg: if the contents with in the div is hardcoded, I have no issues with my css, but if I use innerHTML it screws it all up ?
Also is innerHTML friendly with all browsers ?
are there any better alternatives ?