I am attempting to reset a form calling on the following function:
<SCRIPT LANGUAGE="javascript">
<!--
function m_ResetDetails()
{
if ( navigator.appName == "Microsoft Internet Explorer" )
{
document.Panel2Data.reset();
alert("after reset"
;
m_ResetArchive();
}
else
{
document.Panel2Data.reset();
history.go(0);
}
}
//-->
</SCRIPT>
within the form I am calling the rest function with:
<a href="javascript:m_ResetDetails()"><img name="reset" src="images/submit/reset.gif" width="77" height="28" border="0" hspace="10" alt="Click To Reset The Form"></a>
When I click on the button I get "error: Object doesn't support this property or method"
any help would be greatly appreciated.
Bill
<SCRIPT LANGUAGE="javascript">
<!--
function m_ResetDetails()
{
if ( navigator.appName == "Microsoft Internet Explorer" )
{
document.Panel2Data.reset();
alert("after reset"
m_ResetArchive();
}
else
{
document.Panel2Data.reset();
history.go(0);
}
}
//-->
</SCRIPT>
within the form I am calling the rest function with:
<a href="javascript:m_ResetDetails()"><img name="reset" src="images/submit/reset.gif" width="77" height="28" border="0" hspace="10" alt="Click To Reset The Form"></a>
When I click on the button I get "error: Object doesn't support this property or method"
any help would be greatly appreciated.
Bill