GrahamCracker
Programmer
I am using InterDev 6 (SP5) under XP.
I am trying to execute a simple call to a subroutine after pressing a button....not happening.
Here is the asp code. What am I doing wrong!!!!!
<%@ Language=VBScript %>
<%
Option explicit
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE>Graham's Test bed</TITLE>
</HEAD>
<BODY onload="document.GRSVAl.GrsText.focus();">
<FORM name=GRSVAl ACTION=Graham1.asp METHOD=post>
<P align=center><STRONG><FONT face=Arial size=4>Some Validation</FONT></STRONG> <BR></P>
<P align=center><BR>Some Number: <INPUT Name=GrsText maxlength=9><BR></P>
<P align=center><BR><INPUT TYPE=button Value="Check Something"
id=submit1 name=submit1 onclick= "call GrsSub">
<SCRIPT language="VBScript">
Sub GrsSub
MsgBox "You just hit the Button ..." ,vbCritical,"Debug"
End Sub
</SCRIPT>
</FORM>
</BODY>
</HTML>
I am trying to execute a simple call to a subroutine after pressing a button....not happening.
Here is the asp code. What am I doing wrong!!!!!
<%@ Language=VBScript %>
<%
Option explicit
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE>Graham's Test bed</TITLE>
</HEAD>
<BODY onload="document.GRSVAl.GrsText.focus();">
<FORM name=GRSVAl ACTION=Graham1.asp METHOD=post>
<P align=center><STRONG><FONT face=Arial size=4>Some Validation</FONT></STRONG> <BR></P>
<P align=center><BR>Some Number: <INPUT Name=GrsText maxlength=9><BR></P>
<P align=center><BR><INPUT TYPE=button Value="Check Something"
id=submit1 name=submit1 onclick= "call GrsSub">
<SCRIPT language="VBScript">
Sub GrsSub
MsgBox "You just hit the Button ..." ,vbCritical,"Debug"
End Sub
</SCRIPT>
</FORM>
</BODY>
</HTML>