aritroper aritroper - 2 years ago 175
Javascript Question

Print Var in JsFiddle

How would I print something to the result screen in JsFiddle from my JavaScript. I can't use document.write(), it doesn't allow it -- neither print -- what do I use?

Answer Source


document.getElementById('element').innerHTML = ...;


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download