Passing a Javascript value

  • Thread starter Thread starter Maury
  • Start date Start date
M

Maury

Hello,
I'm trying to pass a Javascript variable (that the user on an asp.net
page changes dinamically)
to a server-side function...
some hints?
Thanks
 
Hi,
Hello,
I'm trying to pass a Javascript variable (that the user on an asp.net
page changes dinamically)
to a server-side function...
some hints?
Thanks

The typical way to solve this is to use a hidden field (if you use POST,
which is usually the case in ASP.NET) or a parameter in the URL (if you
use GET).

Then, on the server, use either Request.Form (POST) or
Request.QueryString (GET)

HTH,
Laurent
 
Back
Top