G
Gordon
I'm just getting started in ASP and can't seem to figure out how to
run a function in ASP. I get an error of "Line 11 - Type
Mismatch:'myvalidate'.
Line 11 is the Input Button.
Here is my simple page's code, what's wrong???:
<%@LANGUAGE="VBSCRIPT"%>
<%
sub myvalidate()
response.write("ok")
response.end
end sub
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="">
<input type="text" name="txt">
<input language = "VBSCRIPT" type="button" name="myButton"
value="Button" onClick="Call myvalidate()">
</form>
</body>
</html>
run a function in ASP. I get an error of "Line 11 - Type
Mismatch:'myvalidate'.
Line 11 is the Input Button.
Here is my simple page's code, what's wrong???:
<%@LANGUAGE="VBSCRIPT"%>
<%
sub myvalidate()
response.write("ok")
response.end
end sub
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="">
<input type="text" name="txt">
<input language = "VBSCRIPT" type="button" name="myButton"
value="Button" onClick="Call myvalidate()">
</form>
</body>
</html>