JoelBeasley
Aug 18th 2007, 7:10 pm
Hey, i need to fine a way to open multiple urls with 1 link.
My javascript
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
My HTML
<select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)">
<option value="_Client_list.php?a=return">Select A Form</option>
<option value="_Client_view.php?{$row.1editlink}">Regular View</option>
<option value="_Client_view_demo.php?{$row.1editlink}">View 3</option>
</select>
Basically i would like so that i can make it when someone click the dropdown menu and selects an option it can open multiple windows.
Why? Well b/c it's inputting data into forms and rather than clicking the drop down, selecting a form and printing and doing that 3 times for 3 different forms, i'd rather be able to click the drop down have it open 3 windows and just click file print real quick.
Thanks for all the help in advance.
~Joel
My javascript
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
My HTML
<select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)">
<option value="_Client_list.php?a=return">Select A Form</option>
<option value="_Client_view.php?{$row.1editlink}">Regular View</option>
<option value="_Client_view_demo.php?{$row.1editlink}">View 3</option>
</select>
Basically i would like so that i can make it when someone click the dropdown menu and selects an option it can open multiple windows.
Why? Well b/c it's inputting data into forms and rather than clicking the drop down, selecting a form and printing and doing that 3 times for 3 different forms, i'd rather be able to click the drop down have it open 3 windows and just click file print real quick.
Thanks for all the help in advance.
~Joel