Re:Laconic: A Sane Method of Generating DOM Content in JavaS...
by ars on Thursday April 26, 2012 @06:00AM
(#3893142)
In what way is this better than writing HTML? And just using innerHTML, outerHTML etc?
It's a serious question. What benefit is there to doing this?
The only thing that came to mind is now you have the dom node so you can bind events to it. But you're not going to be doing that everywhere. So why make things more complicated?
It's a serious question. What benefit is there to doing this?
The only thing that came to mind is now you have the dom node so you can bind events to it. But you're not going to be doing that everywhere. So why make things more complicated?