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

Recommended Answers

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

Jump to Post

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

Jump to Post

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.