Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Client script error
Message
From
23/10/2002 19:45:22
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brazil
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Client script error
Miscellaneous
Thread ID:
00714602
Message ID:
00714602
Views:
46
Hi,

When client script debugging is enabled in IE, I receive an error message but the script works fine (i.e. the parent form location changes and the form is refreshed).

The script is very simple. It looks like this:
<script language="javascript">
        function ParentRefresh()
        {
                s = creator.location.toString();
                n = s.indexOf("#");
		
		if (n > 0)
			s = s.substring(0, n);

		creator.location = s ;
	}
</script>
The error message is "creator is undefined", but as I´ve said before, the script works.

Any ideas?

Thanks in advance,

Eugenio
Next
Reply
Map
View

Click here to load this message in the networking platform