WebForm_AutoFocus

  • Thread starter Thread starter green_tea
  • Start date Start date
G

green_tea

I got the following Javascript error when I ran my login.aspx page:
"A Runtime Error has occurred. Do you wish to debug? Line 155 Error:
Object expected"

When I check the runtime scource code, .NET added the following code in
my login.aspx page which cause the problem:
<script type="text/javascript">
<!--
WebForm_AutoFocus('passwd');// -->

Could anyone tell me how to remove this auto generated code?

Thanks a lot.

Green
 

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