Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reset Form

Status
Not open for further replies.

wggroves

Programmer
Nov 17, 2000
1
US
I am attempting to reset a form calling on the following function:

<SCRIPT LANGUAGE=&quot;javascript&quot;>
<!--
function m_ResetDetails()
{
if ( navigator.appName == &quot;Microsoft Internet Explorer&quot; )
{
document.Panel2Data.reset();
alert(&quot;after reset&quot;);
m_ResetArchive();
}
else
{
document.Panel2Data.reset();
history.go(0);
}
}
//-->
</SCRIPT>



within the form I am calling the rest function with:

<a href=&quot;javascript:m_ResetDetails()&quot;><img name=&quot;reset&quot; src=&quot;images/submit/reset.gif&quot; width=&quot;77&quot; height=&quot;28&quot; border=&quot;0&quot; hspace=&quot;10&quot; alt=&quot;Click To Reset The Form&quot;></a>


When I click on the button I get &quot;error: Object doesn't support this property or method&quot;

any help would be greatly appreciated.

Bill

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top