html - Opening a popup window based on selected dropdown option -


what i'm trying create simple form dropdown list , submit button. upon selecting option dropdown list, user clicks submit button , popup window opens allows them view more info option selected.

right have:

<form action="example.php" method="post" target="_blank">     <select size="7" name="identifier" style="width: 100%;">         <option>             options....         </option>     </select> </form> 

now 'work' in when user selects option , presses submit, opens new window selected option post data passed along. open smaller popup window size can define rather whole new window. i'm aware target=_blank deprecated i'm wondering preferred way achieve now?

here link may solve problem (stackoverflow link) : how show popup if select "option" in "select" dropdown using javascript?


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -