Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Passing client VBScript Variables to a Server

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,2064
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Passing client VBScript Variables to a Server
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Passing client VBScript Variables to a Server - 2/15/2005 6:23:43 AM   
  Rikkimaru

 

Posts: 8
Score: 0
Joined: 2/2/2005
From:
Status: offline
Hello everyone. I have a quick (and possibly trivial question for everyone.)

I've been having trouble getting client-script variables to the server for a little intranet application I've been toying with.

Server Side and Client Side Code are both VBScript (I know that should use JavaScript but one language at a time).

Anyway...this is the code I'm playing with to learn.


      

<!--Here is the HTML Form that Feeds the Button above-->
<form method="post" action="usertest.asp">
<input type="button" onClick=Delete() value="Delete">
</form>


      
Hopefully, someone will point me in the right direction
Thanks
 
 
Post #: 1
 
 Re: Passing client VBScript Variables to a Server - 2/16/2005 1:06:27 AM   
  Rikkimaru

 

Posts: 8
Score: 0
Joined: 2/2/2005
From:
Status: offline
I had some help and figured it out but I'm trying to understand why the "Null" part of the Case statement doesn't work. I thought that when the page is first run on the server and the 'clientresponse' value wasn't submitted by the client that it would be assigned a default value of null. Any ideas?

Maybe I'll make a new thread for that question.

Anyway, a friend helped me out yesterday and here's what works. May it help some other frustrated soul.






<!-- HTML PART OF CODE -->
<HTML>
<form id="F1" method="post" name="F1">
<input type="button" onClick=Delete() value="Delete">
<input type="Hidden" Name="hdnYesNo">
</form>
</HTML>







      

(in reply to Rikkimaru)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Passing client VBScript Variables to a Server Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts