HELP!!
I have the following script:
<HEAD>
<TITLE>Test</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
function RedirectToURL(strURL) {
var strRequestedURL = strURL.toLowerCase();
alert(strRequestedURL);
}
// -->
</SCRIPT>
</HEAD>
<BODY ONLOAD="RedirectToURL(window.location);">
</BODY>
I get the following error:
object doesn't support this property or method.
Can anyone tell me why this doesn't work please.
Many Thanks