robszar
-
Total Posts
:
193
- Scores: 0
-
Reward points
:
0
- Joined: 2/27/2005
- Location:
-
Status: offline
|
pass variable to server side function
Thursday, October 11, 2007 12:23 AM
( permalink)
is there a way to pass variables to server side scripts? I'm new to ASP, sorry for all the questions if they seem dumb. <html> <head> </head> <body> <input type=text name=UserNameField> <input type=Button value="Rename Computer" name=Button1 onclick=displayUserName()> <script language="vbscript"> sub displayUserName() <%call GetUser("UserNameField.value")%> end sub <% Function GetUser(User)%> msgbox User <% end function %> </script> </body> </HTML>
|
|
|
|
webber123456
-
Total Posts
:
58
- Scores: 0
-
Reward points
:
0
- Joined: 9/20/2007
-
Status: offline
|
RE: pass variable to server side function
Thursday, October 11, 2007 2:21 PM
( permalink)
|
|
|
|