I am checking if a number exists in the database on the server side using ASP. If that number is not found I would like to send a messge to the screen via an alert (or document.write). then I would like the original screen back with the invalid field highlighted..I tried this but when the alert pops up the screen is white...the form is gone until i clear the alert.
...
....
If objRS.EOF Then
objRS.Close
Set objRS = Nothing
Set objCommand = Nothing
<script language="JavaScript" type="text/javascript">
<!--
var strTran = "<%=varTran%>";
alert(strTran)
document.frm.Tran.focus()
//-->
</script>
thanks
hanton
...
....
If objRS.EOF Then
objRS.Close
Set objRS = Nothing
Set objCommand = Nothing
<script language="JavaScript" type="text/javascript">
<!--
var strTran = "<%=varTran%>";
alert(strTran)
document.frm.Tran.focus()
//-->
</script>
thanks
hanton