Home › Forums › JavaScript › JavaScript › Re: JavaScript
August 23, 2009 at 11:23 pm
#62624
soap
Participant
<INPUT TYPE = Button VALUE = "Click Me" OnClick = "document.write(‘Hello World’)>
needs to be
<input type="button" value="Click Me" onclick="document.write(‘Hello World’)" />
you’re missing quotes on "button" and after document.write