J
Jeronimo Bertran
Hi,
How can I access session information stored during the code behind from
within my javascript?
Example... in my javascript I have the following:
var url = "RenderPage.aspx";
document.all.MyFrame.contentWindow.navigate(url);
Where MyFrame is an IFrame..... inside the codebehind for RendePage.aspx I
am setting a session variable:
Session["MyVar"] = "hello";
I then want to be able to use this information from my javascript to fill a
field in my main form:
document.MyForm.elements[2].value = Session("MyVar"); // This doesn't
work.
Thanks a million,
Jeronimo
How can I access session information stored during the code behind from
within my javascript?
Example... in my javascript I have the following:
var url = "RenderPage.aspx";
document.all.MyFrame.contentWindow.navigate(url);
Where MyFrame is an IFrame..... inside the codebehind for RendePage.aspx I
am setting a session variable:
Session["MyVar"] = "hello";
I then want to be able to use this information from my javascript to fill a
field in my main form:
document.MyForm.elements[2].value = Session("MyVar"); // This doesn't
work.
Thanks a million,
Jeronimo