Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Client script error
Message
De
23/10/2002 19:45:22
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brésil
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Client script error
Divers
Thread ID:
00714602
Message ID:
00714602
Vues:
48
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform