C
CreativeMind
hi,
i have a page calendar.aspx which returns selected date i.e
window.returnValue=selectedDate; window.close(); it works fine with IE
but not for Firefox.
i tried window.opener.document.getElementById(<%=txthidden.ClientID
%>").value=selectedDate; where window.opener is pageA.aspx
but am confused bkoz many pages r using this calendar.aspx page and it
is not a good way to have a txthidden in all pages.
i tried to use a global variable that is not working.bkoz the caller
function is in a separate js file and is being used in pageA.aspx.
any other way??
thx.
i have a page calendar.aspx which returns selected date i.e
window.returnValue=selectedDate; window.close(); it works fine with IE
but not for Firefox.
i tried window.opener.document.getElementById(<%=txthidden.ClientID
%>").value=selectedDate; where window.opener is pageA.aspx
but am confused bkoz many pages r using this calendar.aspx page and it
is not a good way to have a txthidden in all pages.
i tried to use a global variable that is not working.bkoz the caller
function is in a separate js file and is being used in pageA.aspx.
any other way??
thx.