Avatar of vetukna

asked on 

DropDownList, VB.Net, JavaScript

I am trying to use a javascript to open a new window if something is selected from the drowdownlist... I am trying to use onchange event but I am not sure how to make it to work...
Here is my code.

<td style="height: 14px; width: 974px;">
            <font face="Tahoma" size="2" color="#3671B1">
            <asp:DropDownList ID="ddlStatus" runat="server" Style="position: relative; left: 0px; top: 0px;" Width="136px" onchange="javascript:var w=window.open('Customer.aspx','','menubar=0,resizable=0,width=375,height=225,left=70,top=70')">
              <asp:ListItem Value = ""></asp:ListItem>
              <asp:ListItem Value="1">New</asp:ListItem>
              <asp:ListItem Value="2">Close</asp:ListItem>

Please advice...
Thank you.
Web Applications

Avatar of undefined
Last Comment

8/22/2022 - Mon