> You had some syntax errors in your script, such as mismatched {}. > Compare this version with what you had and you will see what I mean. A much easier option is to use a target attribute on the select and a function that opens the popup onsubmit. That way you keep the maintenance in the HTML.