I need to pass an xml
string from parent window to child window.
My restrictions
1. It is a window.open and not a modalDialog, so i cannot pass arguments
2. I cannot use querystring due to security issues.
Can anybody tell me a way to achieve this.
xml is of the format <NODE CODE="somecode" VALUE="somevalue" />
I tried to do this as below but it failed
handle = window.open("mypage.aspx");
var objHdn = handle.document.createElement("INPUT");
objHdn.type = "hidden";
objHdn.id = "hdnXenon";
objHdn.value = g_XenonXml;
another way I tried was:
handle.document.write("<script language=javascript>var xml="+xml+"</script>");
but when I did view source, the above script statement had overwritten everything else in mypage.aspx