Hi
I Tell you
In MainPage.aspx i am using
<script language="javascript" type="text/javascript">
function abc()
{
var e= document.getElementById('TextBox1')
e.value="harjinder"; // it works fine without window.open
// and if i wrote something on TextBox
//Child.aspx shows undefined exception
//I need e.value in the Child.aspx page
window.open("Child.aspx?ab= " + e.Value ,"abc");
}
</script>
and in Child.aspx Page
protected void Page_Load(object sender, EventArgs e)
{
if (Request.QueryString["ab"] != null)
Response.Write(Request.QueryString["ab"].ToString());
else
Response.Write("Sorry");
}
harjinder
|