Re: Submit hitting enter problem
| From: | Jason Sheets | Date: | Mon, 11 Nov 2002 04:21:33 +0000 |
| Subject: | Re: Submit hitting enter problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123746@lists.php.net to get a copy of this message | ||
Return key presses in a <textarea> will usually be converted into a
newline (\n).
Making your browser submit the form when you press enter is an
HTML/Browser issue.
You probably should look at a javascript solution because this is a
client side problem.
Jason
On Sun, 2002-11-10 at 21:16, rija wrote:
> Thanks for your quick answer,
>
> But it doesn't change anything.
> <textarea> change my text box into big text area-
>
> So I always have to click on submit button to submit the form.
>
>
>
> ----- Original Message -----
> From: "Justin French" <justin@indent.com.au>
> To: <rija@vatu.com>; "php" <php-general@lists.php.net>
> Sent: Monday, November 11, 2002 3:45 PM
> Subject: Re: [PHP] Submit hitting enter problem
>
>
> > on 11/11/02 12:44 PM, rija (rija@vatu.com) wrote:
> >
> > > <input type=text name=bongabe value=something>
> >
> > I think you need to use a <textarea> if you wish for the returns to be
> > submitted.
> >
> > Cheers
> >
> >
> > Justin French
> > --------------------
> > Creative Director
> > http://Indent.com.au
> > Web Developent &
> > Graphic Design
> > --------------------
> >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php