How would you write this jQuery method
$('body').html(node);
for setting html to node in Javascript?
thank you
Yes thats possible:
document.body.innerHTML="<h1>Hello World</h1>";
http://www.tizag.com/javascriptT/javascript-innerHTML.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With