Reset Form error (FormView - ASP.Net 2.0)

  • Thread starter Thread starter sck10
  • Start date Start date
S

sck10

Hello,

I am using the following javascript (document.myform.reset();) to reset my
form values in a FormView. My reset button works, but I have the following
statement at the bottom of Internet Explorer bar: "Done, but with errors on
page". Any help with this would be appreciated.

Thanks,

sck10


<script language="JavaScript" type="text/JavaScript">
<!--
function frmPrint(thForm)
{
window.print();
} //End function

document.myform.reset();

//-->
</script>
 
Hi,

Thank you for your post.

When you see the error notification on the status bar, you can double click
on it to see the detailed error description.

Also, I noted that your posted javascript didn't put
"document.myform.reset()" in a javascript function, how does that get
called in your reset button's click event?

If possible, posting more source code will also help.


Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top