I have this form on an options page for a website I am working on:
<form method="POST" action="process.asp" name="form1">
<table width="70%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Number of slides:</td>
<td colspan="2"><input type="text" name="numberOf"></td>
</tr>
<tr>
<td>Seconds between slides:</td>
<td colspan="2"><input type="text" name="secondsBetween"></td>
</tr>
<tr>
<td> </td>
<td colspan="2"><input type="submit" name="submit" value="Submit"></td>
</tr>
</table>
</form>
I need the values entered inside of the input fields to be used as the variables in a separate pages javascript as shown here:
var betweenDivs = (10 * 1000),
numSlides = 0;
I can't figure out any way to do this. It needs to work on an ISS server.
In process.asp, you can print out the variable from the form, right into your javascript.