1
116
I have been using this piece of script in forms, and just tweaking it when
needed. I have created an edit.asp page. This being database results, not
quite sure how to tweak.
<script type="text/javascript">
function calcinc()
{
with (document.FrontPage_Form1)
{ DashNumber.value = +DashNumber.value + +"1";
if (DashNumber.value < 10)
DashNumber.value = '0' + DashNumber.value;
else if (DashNumber.value >= 10)
DashNumber.value = '' + DashNumber.value;
}
/* Note the extra + operators. */
}
</script>
Any assist would be appreciaited.
David
needed. I have created an edit.asp page. This being database results, not
quite sure how to tweak.
<script type="text/javascript">
function calcinc()
{
with (document.FrontPage_Form1)
{ DashNumber.value = +DashNumber.value + +"1";
if (DashNumber.value < 10)
DashNumber.value = '0' + DashNumber.value;
else if (DashNumber.value >= 10)
DashNumber.value = '' + DashNumber.value;
}
/* Note the extra + operators. */
}
</script>
Any assist would be appreciaited.
David