[Webtest] ReferenceError: "checkForFrm" is not defined.

Jaydeep Ayachit Jaydeep Ayachit" <jaydeep_ayachit@persistent.co.in
Tue, 1 Jul 2008 19:58:32 +0530


Hi,

I have html page similar to the following. When run through webtest it gives
error - "ReferenceError: "checkForFrm" is not defined."

checkForFrm function is infact defined earlier. Any help in this regard will
be most welcome.

Thanks
Jaydeep.

<body>
<table>
<tr>
	<td>..</td>
</tr>

<script language="JavaScript">

function checkForFrm(clientid)
{
    	var msg = "Please save your changes (if any) before proceeding.";
    	if(confirm(msg))
    	{
        document.location = "/apps/featurelist.jsp?clientId=" + clientid;
}
}

</script>

<tr>
	<td>
		<a href="javascript:checkForFrm(12345)">Features</a></td>
	</td>
</tr>

</table>
</body>


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.