Making a select choice result in a popup in javascript

Posted by Ryan Johsonson on Stack Overflow See other posts from Stack Overflow or by Ryan Johsonson
Published on 2010-06-01T21:48:53Z Indexed on 2010/06/01 21:53 UTC
Read the original article Hit count: 135

Filed under:
|
|
|

So this is using javascript and HTML.

For example:

   <select name='test' >
            <option value='1'>
            <option value='2'>
            <option value='3'>
    </select>

If someone chooses option value 2 (from the dropdown) I want a popup to appear. However if they choose option value 1 or option value 3 (from the dropdown) I want nothing to happen.

How can I do this?

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html