javascript for ie vs javascript for firefox
- From: chris@xxxxxxxxxxx
- Date: Thu, 28 Jun 2007 15:30:58 -0700
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
.
- Follow-Ups:
- Prev by Date: Re: Show JPEG From JavaScript/XMLHttp?
- Next by Date: Re: javascript for ie vs javascript for firefox
- Previous by thread: Show JPEG From JavaScript/XMLHttp?
- Next by thread: Re: javascript for ie vs javascript for firefox
- Index(es):
Relevant Pages
|