where do you add the resolution?
Main Topics
Browse All TopicsI get the following errors and warnings in the Firefox JavaScript console:
Warning: Element referenced by ID/NAME in the global scope. Use W3C standard document.getElementById() instead.
Source File: http://www.verityservice.c
Line: 275
Error: window.opener.form1 has no properties
Source File: http://www.verityservice.c
Line: 277
The javascript is:
<script language="javascript">
function CalendarScript()
{
setTimeout(window.close,30
if (!(Form1.txtDate.value==""
{
window.opener.form1.startD
window.close()
}
}
</script>
What I have going on is I have a link on aspx that opens up a calender, a date is selected, the calender closes and the a textbox is poplulated with the date chosen. This works in IE but will not work when viewed by Mozilla Firefox.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: ZylochPosted on 2004-09-22 at 13:51:53ID: 12127633
Hi healco,
',30000); .txtDate.v alue=="")) { ener.close d) { '].startDa teTB.value =document. forms['For m1'].txtDa te.value;
Do this:
<script language="javascript">
<!--
function CalendarScript() {
setTimeout('window.close()
if (!(document.forms['Form1']
if (window.opener&&!window.op
window.opener.forms['form1
window.close();
}
}
}
//-->
</script>
The two window.close are a bit contradictory, but if you want it that way...
Regards,
Zyloch