This is an HTML question.

Is the button in a FORM tag?  If not, then you will have to handle the
"button-pressed" event with javascript and then submit the page if it is an
enter key.



On 4/26/06, VIKASS NAGPAL <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I have a login screen that prompts for userid and
> password. But when you press enter after inputing
> these fields it does not "defaults" to Ok button. So I
> want to "default" the button press event of "Enter"
> button into action perform event of "OK" button. Can
> anyone hint me regarding this. I would really
> appreciate your help.
>
> Thanks,
> Vikas Nagpal.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Marc Farrow

Reply via email to