Drop Down Menu
I have a drop down menu that I can't get to open in a new window. I have set the target to blank with no luck. Here is my code:
<form name="TopicCompass" target="_blank" class="">
<div align="center"><span class="style31">Retail Compass</span> <br>
<select name="menu" onChange="location=document.TopicCompass.menu.options[document.TopicCompass.menu.selectedIndex].value;" value="GO">
<option>Select a Plan</option>
<option value="http://..PB_Plan.pdf">Personal Banker</option>
Any help would be much appreciated!
It appears you are misundertanding what a <form> is used for.
A form is used to collect user inputed data and then send it to a server side script for processing after the submit button was clicked by the user.
If you want to open the select menu in a new window, I would put the <div> containing the <select> in a separate html file and then use window.open() in the first html file to open the second html file containing your menu.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread