javascript for ie vs javascript for firefox



I have clientside javascript returning a user selection from a popup
window to the parent window. works fine in ie but not in firefox.
Firefox debugger says : window.opener.Form1 has no properties

code is :
<script language="javascript">
function btnOK_Click(){
window.opener.Form1.<%=request.querystring("name")
%>.value=window.Form1.lstMonth(window.Form1.lstMonth.selectedIndex).text
+ " - " + window.Form1.lstYear.value;
window.opener.Form1.<%=request.querystring("id")
%>.value=window.Form1.lstMonth.value + "f1f" +
window.Form1.lstYear.value
window.close();
}

</script>

It's complaining about the first line of the code...Any clues ?
Cheers
Chris

.



Relevant Pages

  • Re: problem uploading file in https
    ... this site has an input file tag to upload files. ... popup window that refreshes the parent window. ... The problem likely is that the popup window is unable to connect back to ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Detect a forms window mode
    ... By looking at the window classes of the form and of its parent window, I can tell whether the form is popup or not. ... Dim hWndParent As Long ...
    (microsoft.public.access.modulesdaovba)
  • Re: popup window: Return value to correct text box?
    ... On Nov 6, 1:21 pm, bruce barker ... popup window is placed in text box 1 on the parent form. ... PARENT WINDOW ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Diff between Modal dialog / dialog / popup / window
    ... A window can be a Popup or child. ... restricted within the client area of its parent window. ...
    (microsoft.public.vc.mfc)
  • Re: Parent Child Windows
    ... In JavaScript, the window.opener property is the parent window. ... >I have 2 windows and both have a textbox. ... > need the user to hit a button on the MainPage and the PopUp will show. ...
    (microsoft.public.dotnet.framework.aspnet)