hello everyone!
i have a php feedback form on my website. this form has drop-down select box on it. i was wondering if there was a way to cause an alert box to appear if a certain option is selected.![]()
hello everyone!
i have a php feedback form on my website. this form has drop-down select box on it. i was wondering if there was a way to cause an alert box to appear if a certain option is selected.![]()
Last edited by kaos; 08-25-2009 at 08:53 PM.
yes there is:
cheersCode:<select onChange="if(this.value='my alert'){alert('Hey!')}"> <option value="something">Choice One</option> <option value="something else">Choice Two</option> <option value="my alert">Choice Three</option> </select>
kaos (08-25-2009)
Bookmarks