| |
robszar
Posts: 173
Score: 0
Joined: 2/27/2005
From:
Status: offline
|
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>
|
|