I got it figured out. It is probably pretty basic but I am very new to javascript.
Here was my old call:
<a onclick="MakeBuy (0)" href="#">
<img src="http://images.paypal.com/images/sc-but-03.gif" border="0" width="106"...
Here is my form code:
<form name="item0"> <b>Qty:</b> <input id="f00" name="QTY" type="text" value="1" size="2">
<select id="f01" name="Color">
<option...
I am using alert to return to a form if it is not filled out correctly. For example, I have a field for quantity that must be from 1 to 99. My code is:
temp = document.item0.QTY.value;
if (temp > 0 && temp < 100) {
...
} else {
alert ("Select a numeric Quantity...
Link9,
I am using alert to return to a form if it is not filled out correctly. For example, I have a field for quantity that must be from 1 to 99. My code is:
temp = document.item0.QTY.value;
if (temp > 0 && temp < 100) {
...
} else {
alert ("Select a numeric...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.