Re: Classic ASP: Using Enter Key to Click Button

Giganews Newsgroups
Subject: Re: Classic ASP: Using Enter Key to Click Button
Posted by:  Jason Keats (jkea…@melbpcDeleteThis.org.au)
Date: Wed, 02 Jul 2008

Brett wrote:
> First, I realize this is a .Net forum, but didn't see a good forum, with
> decent traffic, for classic ASP questions, so bear with me :-)
>
> I have a classic ASP page. I cannot convert to .Net at this time.
>
> I created a simple form with one text box for a passsword and one input
> button control.  That's it.
>
> I am trying to make the Enter key click the button.  I tried the form's
> defaultbutton property with ID and name on the button, but Enter just does a
> submit and refreshes the form.
>
> Any ideas?
>
> Again, this is classic ASP, not .Net.
>
> Thanks

Have a look at:
http://www.codeproject.com/KB/asp/ClassicAspFW.aspx
http://www.codeproject.com/KB/asp/ClassicAspFW02.aspx
http://www.claspdev.com/

HTH

Replies

None

In response to

Classic ASP: Using Enter Key to Click Button posted by Brett on Tue, 1 Jul 2008