Everybody,
When I run the following page, I get " in the alert modal dialog box. What I want to get is " What am I doing wrong.
<!-- temp.htm -->
<HTML>
<HEAD>
<SCRIPT language="JavaScript" type="text/JavaScript">
<!--
function sendmyform()
{
alert (document.location);
}
-->
</SCRIPT>
</HEAD>
<BODY>
<a href="Test.asp?&Model=1" onclick="javascript:sendmyform();return false">Click here to test</a>
</BODY>
</HTML>
When I run the following page, I get " in the alert modal dialog box. What I want to get is " What am I doing wrong.
<!-- temp.htm -->
<HTML>
<HEAD>
<SCRIPT language="JavaScript" type="text/JavaScript">
<!--
function sendmyform()
{
alert (document.location);
}
-->
</SCRIPT>
</HEAD>
<BODY>
<a href="Test.asp?&Model=1" onclick="javascript:sendmyform();return false">Click here to test</a>
</BODY>
</HTML>