Hi all,
Not sure why this code doesn't work, but when I set up multiple arguments in a VBScript Function, it ceases to work. I've tested both arguments individually, and they work find. When in conjunction, though, I get no response. Thanks for the help before hand!
Joshua
<html>
<body>
<script type="text/vbscript">
Sub GetStuf(strFreq,strOrig)
msgbox strFreq
msgbox strOrig
end Sub
</script>
<H1 align="center">Report Lookup Tool</H1>
Please select the type of report you would like to look up from the drop down menu below.<br><br><br><br>
<form>
Frequency:
<select name="Freq">
<option value="Daily">Daily
<option value="Weekly">Weekly
<option value="Bi-Weekly">Bi-Weekly
<option value="Monthly">Monthly
<option value="Other (See Notes)">Other (See Notes)
<option value = "All">All
</select><br>
Originator:
<select name="Orig">
<option value="Amy Williams">N1
<option value="Chris Kerney">N2
<option value="Elizabeth Shoener">N3
<option value="Joshua Wise">N4
<option value="Marge McBride">N5
<option value="Natalie Gerstenbacher">N6
<option value="All">All
</select>
<br>
<input type="button" value="Get List" onclick="GetStuf(Freq.value,Orig.value)">
</form>
</body>
</html>
Not sure why this code doesn't work, but when I set up multiple arguments in a VBScript Function, it ceases to work. I've tested both arguments individually, and they work find. When in conjunction, though, I get no response. Thanks for the help before hand!
Joshua
<html>
<body>
<script type="text/vbscript">
Sub GetStuf(strFreq,strOrig)
msgbox strFreq
msgbox strOrig
end Sub
</script>
<H1 align="center">Report Lookup Tool</H1>
Please select the type of report you would like to look up from the drop down menu below.<br><br><br><br>
<form>
Frequency:
<select name="Freq">
<option value="Daily">Daily
<option value="Weekly">Weekly
<option value="Bi-Weekly">Bi-Weekly
<option value="Monthly">Monthly
<option value="Other (See Notes)">Other (See Notes)
<option value = "All">All
</select><br>
Originator:
<select name="Orig">
<option value="Amy Williams">N1
<option value="Chris Kerney">N2
<option value="Elizabeth Shoener">N3
<option value="Joshua Wise">N4
<option value="Marge McBride">N5
<option value="Natalie Gerstenbacher">N6
<option value="All">All
</select>
<br>
<input type="button" value="Get List" onclick="GetStuf(Freq.value,Orig.value)">
</form>
</body>
</html>