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...
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.