i have a page opens a popup in that popup i get some property values for control in the previous page
i need to pass the values to the control vwhen i clik a button
what is the best choise
when i need session i can'nt refresh the previous page correctly so it fails for me (browser asks me a msgbox)
when i want to pass with query string my value is a html tag it allso fails because of security
thanks for helps
i realy need help talk to me guys
Can you clarify the question a bit.
You have a window you pop up that gathers some data that you want to write back to the previous page that the window popped up from?
If so you can use javascript to do it:
function SelectItem(item, invalue)
{
if (window.opener)
if (window.opener.closed == false)
if (window.opener.document && window.opener.document.forms[0] &&
window.opener.document.forms[0].elements[item])
{
window.opener.document.forms[0].elements[item].value = invalue;
}
window.close();
}
0 comments:
Post a Comment