[Javascript] weird JavaScript problem in IE6

Dan geckoz at today.com.au
Thu Dec 12 00:59:55 CST 2002


Hi all,

I have the following script, 
<SCRIPT language="JavaScript1.1">
	
	var title
	if (window.opener && !
window.opener.closed)
   	title = 
window.opener.document.proc_vars.proc_title.value
;
   	document.write("<font color='red'>"  + 
title + "</font>")

	</SCRIPT>

This works fine in IE5.5, but does not display 
anything at all in IE6 or Netscape 7 . Netscape 
complains about permissions denied when 
attempting to access the form field values. 

If I just have the following script, 
<SCRIPT language="JavaScript1.1">
	
		if (window.opener && !
window.opener.closed)
   	   	document.write("<font 
color='red'>"  + Testing+ "</font>")

	</SCRIPT>

It works fine. What on earth is going on here? 

Dan. 

  --- Send the right message ---

        + Today freemail +   

Get your free, private email address at
       http://www.today.com.au     



More information about the Javascript mailing list