Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > passing data from javascript variable to asp variable.

Reply
Thread Tools

passing data from javascript variable to asp variable.

 
 
Steve Cosh
Guest
Posts: n/a
 
      11-18-2005
Hi,

is there any way of passing a javascript variable over to a asp variable so
i can write it to my database.

Thanks
 
Reply With Quote
 
 
 
 
joewiii
Guest
Posts: n/a
 
      11-18-2005
try
loc.href = loc.pathname + '?variableName=' + value
in your script

"Steve Cosh" wrote:

> Hi,
>
> is there any way of passing a javascript variable over to a asp variable so
> i can write it to my database.
>
> Thanks
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing a variable value from Javascript to asp.net server variable shil ASP .Net 2 01-02-2007 09:33 PM
how to get javascript variable value into asp variable tnhoe Javascript 4 04-21-2005 06:32 PM
Passing variable to ASP with javascript Dave A Javascript 7 01-21-2004 06:19 PM
passing javascript variable into asp variable using vbscript Jonas Daunoravicius Javascript 5 07-17-2003 04:54 AM
passing javascript variable into asp variable using vbscript Jonas Daunoravicius ASP General 5 07-17-2003 04:54 AM



Advertisments