Hello Guyz..
I want to assign a varascript value to a session object in javascript
function...
like i have an image and onClick i am calling a function sort_(str)..
Now i want to assign this value str to a session object in the same
function...
I know javascript code is client side and session is on server side..
but is there any way doing that??
function sort_(str)
{
document.ins_form.elements["Qry"].value = str;
//alert(str);
document.form1.submit();
}
when i click on that image and that function calls everything works
fine. but when i click on next to bring more records i couldn't get
Qry value by request.form("Qry").....
I am working in Dreamweaver an coding in asp VBScript language...
> Hello Guyz..
>
[quoted text clipped - 20 lines]
>
> I am working in Dreamweaver an coding in asp VBScript language...
This is more an ASP question than a Javascript question.
From javascript to VBScript using an HTML form is pretty easy:
Dim myVar
myVar = Request.Form("Qry") 'or Request.Query("Qry"), depending on the
form method.
Then from VBScript back to the HTML form is similarly easy:
Response.Write("<textarea height=""4"" width=""60"" name=""Qry""
id=""Qry"">" & myVar & "</textarea>")
Once it's back in the form, your javascript functions can pick it up and
handle it.

Signature
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/