can anyone show me a quick script that will check a text box to make sure it only contains numbers?
ie.
<form action="executescript.asp" method="post">
<input type="text" name="cost">
</form>
make sure the text box only contains the characters 0, 1, 2, 3, 4, 5, 6, 7, 8 or 9.
ie.
<form action="executescript.asp" method="post">
<input type="text" name="cost">
</form>
make sure the text box only contains the characters 0, 1, 2, 3, 4, 5, 6, 7, 8 or 9.