[quote=switpotato]wats wrong with using innerhtml lol..
as long as its working fine in all browser...
no error wat so ever[/quote]
for educational purpose only
for me the use of innerHTML is recommended if your need is one way.
that is, you are just presenting content, after which you are "done."
however, if you need to refer/traverse a DOM branch that you are changing, then you should use "createElement" DOM methods
in summary, which to use? answer: both. It depends on your case