Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] weird JavaScript problem in IE6


  • From: javascript@xxxxxxxxxx (Dan)
  • Subject: [Javascript] weird JavaScript problem in IE6
  • Date: Thu, 12 Dec 2002 17:59:55 +1100

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