jduawa
01-09-2002, 04:44 PM
i have the following code that i am using in cold fusion.
the select options are gerated from a coldfusion query and when the user hits run report the report runs. i need to be able to have the user hit run report and have the report run in a new window with the select option. I cannot figure this out
thanks
<select name="dateSelect">
<option value="placeholder">Select A Date</Option>
<cfoutput query="period">
<option value="http://blahblahblah.blah.com/cgi/rwcgi60.exe?#URL.ReportType#+#URL.catcode#+#URL.user#+#URL.axis1#+#URL.Axis2#+#URL.code1#+#URL.code2 #+#Period_Name#">#Period_Name#</option>
</cfoutput>
</select>
<br>
<br>
<input type="submit" onClick="parent.location.href=dateSelect.options[dateSelect.options.selectedIndex].value;" value="Run Report">
the select options are gerated from a coldfusion query and when the user hits run report the report runs. i need to be able to have the user hit run report and have the report run in a new window with the select option. I cannot figure this out
thanks
<select name="dateSelect">
<option value="placeholder">Select A Date</Option>
<cfoutput query="period">
<option value="http://blahblahblah.blah.com/cgi/rwcgi60.exe?#URL.ReportType#+#URL.catcode#+#URL.user#+#URL.axis1#+#URL.Axis2#+#URL.code1#+#URL.code2 #+#Period_Name#">#Period_Name#</option>
</cfoutput>
</select>
<br>
<br>
<input type="submit" onClick="parent.location.href=dateSelect.options[dateSelect.options.selectedIndex].value;" value="Run Report">


