View Full Version : cross browser class/function for innerHTML?
manga
March 12th, 2007, 07:34 AM
Hey All,
is there a good function(s) that does the same as object.innerHTML="bla"; but crossbrowser proof that uses the dom WC3 logica?
i hed one that is called innerXHTML but it doesnt work in IE7 very good..
So any help?:ear:
borrob
March 12th, 2007, 06:36 PM
?? which browser doesn't support innerHTML ??
i never had this problem...
evildrummer
March 12th, 2007, 07:03 PM
the innerHTML property for me has been hell, sometimes it has worked in both FF and IE and sometimes only IE and sometimes vica versa. Most browsers support it but in different ways.
manga
March 13th, 2007, 05:47 AM
Yes true so i heard of some costummade functions that work with the dom engine but on ALL browsers supporting the dom (createElement etc) so any idea's?
broneah
March 16th, 2007, 04:03 PM
its not innerhtml thats not supported its the way your findDOM function is returning the object. Garunteed.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.