I felt like trying something new and making document.write() used on command. I used a button to trigger the document.write(), but it removes the button and it does write the text, though.
How do I make it so that when the event is triggered, the document.write() will occur wherever I want it to.
<h1><input type="button" onClick="box('Wheeeeeeee')" value="Jawesome."></input></h1>
What I mean is I don't want the text in document.write() to appear instead of the button, I want the button to make the document.write() to appear anywhere I want it to. If there are any other ways of doing this, do tell.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread