N
NTGod
I have a question I have been trying to run this asp page with a
subroutine. I have been trying to have you click on a button and run a
subroutine on the server then return a variable. Also my next try will
be to get and input from a test box into the subroutine and return
data/variable.
Here is the sample hello.asp page:
The page should just have a hello button and when clikced display hello
on the page.
<html>
<head>
<title>hello</title>
</head>
<%
Sub hello()
strHello = "hello"
End Sub
%>
<body>
<input id=Button type=button value="hello" Name="ehlo"
Language="VBScript" onClick="hello()">
<%= strHello %>
</body>
subroutine. I have been trying to have you click on a button and run a
subroutine on the server then return a variable. Also my next try will
be to get and input from a test box into the subroutine and return
data/variable.
Here is the sample hello.asp page:
The page should just have a hello button and when clikced display hello
on the page.
<html>
<head>
<title>hello</title>
</head>
<%
Sub hello()
strHello = "hello"
End Sub
%>
<body>
<input id=Button type=button value="hello" Name="ehlo"
Language="VBScript" onClick="hello()">
<%= strHello %>
</body>