I have a huge form with disabled input boxes for viewing purposes only, except for one area. What I need to do is to allow the user to type a number in a text box, and choose either a + or - button that will call a stored procedure (sprocUpdateVisits) to update the db, and leave the user on this same ASP page but clear the text box. The page needs to be ready for the use to increment/decrement again if needed.
I'm at a loss how to begin.
I have to use VBScript server-side, and JavaScript client-side.
Here's the html tags:
<td align="right">
+/- Visits:
</td>
<td>
<input type="text" name="AdjustVisits" size="5"
value="" >
<input type="button" name="btnAdd" value="+" >
<input type="button" name="btnSubtrace" value="-" >
</td>
Thanks for your help!
I'm at a loss how to begin.
I have to use VBScript server-side, and JavaScript client-side.
Here's the html tags:
<td align="right">
+/- Visits:
</td>
<td>
<input type="text" name="AdjustVisits" size="5"
value="" >
<input type="button" name="btnAdd" value="+" >
<input type="button" name="btnSubtrace" value="-" >
</td>
Thanks for your help!