Hi, why is it, when you click "whatever", the string "hello there" isn't written with the ID#thename input box ?

Recommended Answers

All 8 Replies

There is no event on the button with the value of "whatever" that will execute the intended function.

The button has a value of "whatever" ?

<input type="button" value="whatever" id="hog" />

Yes I saw that but I didn't see any click events related to the button.

<input type="button".onclick value="whatever" id="hog" />


I'm at a loss, JsLint is validating everything correcly. Unfortunately JsFiddle is ignoring the style sheets.

Ohhhh ! I see the error of my ways :)

Good hope you solved the issue.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.