G
Guadala Harry
I have some client-side JavaScript that, among other things, calculates the
value of a variable (myVar). On the server I have a stored procedure that
needs to somehow receive as an input parameter the value of myVar. I need to
know how to get the value of myVar from the script up to the server.
Specifically, I'd like to have the following happen when the user clicks a
button in the browser:
1. The client-side script executes (and determines the value of myVar).
2. A postback is initiated - at which time the value of myVar is sent to an
aspx.cs function which ultimately...
3. executes a stored procedure (which receives the value of myVar as an
input parameter).
This is a very important piece of a larger project... any help would be
greatly appreciated - including any JavaScript syntax, as I'm a but rusty on
my JavaScript skills.
Thanks!
-GH
value of a variable (myVar). On the server I have a stored procedure that
needs to somehow receive as an input parameter the value of myVar. I need to
know how to get the value of myVar from the script up to the server.
Specifically, I'd like to have the following happen when the user clicks a
button in the browser:
1. The client-side script executes (and determines the value of myVar).
2. A postback is initiated - at which time the value of myVar is sent to an
aspx.cs function which ultimately...
3. executes a stored procedure (which receives the value of myVar as an
input parameter).
This is a very important piece of a larger project... any help would be
greatly appreciated - including any JavaScript syntax, as I'm a but rusty on
my JavaScript skills.
Thanks!
-GH