F
franklinbruce
Hi all,
I am passing a value from Javascript to a IFrame. when i tired to
acces that value like request.querystring("id1") it says "name id1 is
not declared"
code as follow:
---------------
javascript code:
function pass_iframe()
{
myval = document.Form1.name1[document.Form1.name1.selectedIndex].value
document.frame2.location.href="new_patient_personal.aspx?id1="
+myval;
}
Asp.net(Code behind is VB.net) code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Request.QueryString("id1")
End Sub
Thanks in advance
Regards
Frank
I am passing a value from Javascript to a IFrame. when i tired to
acces that value like request.querystring("id1") it says "name id1 is
not declared"
code as follow:
---------------
javascript code:
function pass_iframe()
{
myval = document.Form1.name1[document.Form1.name1.selectedIndex].value
document.frame2.location.href="new_patient_personal.aspx?id1="
+myval;
}
Asp.net(Code behind is VB.net) code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Request.QueryString("id1")
End Sub
Thanks in advance
Regards
Frank