I am using the javascript history command to go back to the first page automatically if the error condition exists. (The zip code not being found in the table)
My asp page gets a value from a text box for a zip code on the first page and on the process page it checks those values against an sql table to make sure the zip code field is valid. My problem is that sometimes when the user clicks the back button to correct the zip code field the data is...
I'm trying to create a recordset that goes out to an sql database and checks to see if a record exists. I've researched and cannot find a syntax that works correctly.
Any ideas?
<script type="text/javascript">
function movenext(){
var strzip=document.getElementById("Zip");
var cn =...
I'm relatively new to javascript and I have used asp for about a year. I'm trying to convert the asp script below to javascript so I can check at validation to see if a record exists for the input string. My code is below in asp.
<% checkforzip = "SELECT * FROM...
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.