Re: Submit hitting enter problem
| From: | David Rice | Date: | Mon, 11 Nov 2002 05:59:06 +0000 |
| Subject: | Re: Submit hitting enter problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123770@lists.php.net to get a copy of this message | ||
Hi Rija:
No It's not "mandatory" to put quotes around attributes, but it would be wise to use this style="recommended" method of representing attributes, if for no reason="other" than to get used to a habit="good".
coding="happiness"
David
On Monday, November 11, 2002, at 12:36 AM, rija wrote:
Sure ! But just simple question? Is it necessary to put quotes around these attributes values? Because I think quotes increase the site size, and using IE4, IE5, IE6, NS4, OPERA, quotes don't change anything. Of course if I have somethings with space, for value's attribute, It is important to put quote because sometimes users enter space. ----- Original Message ----- From: "Jason Wong" <php-general@gremlins.com.hk> To: <php-general@lists.php.net> Sent: Monday, November 11, 2002 3:33 PM Subject: Re: [PHP] Submit hitting enter problemWhat happens when ENTER is pressed depends on what browser you're using. Different browsers exhibit different behaviours, eg the old versions of Netscape (v4 and before) does not submit on ENTER. Also, put quotes around your attribute values eg: <input type="text" name="bongabe" value="something"> -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* The more I know men the more I like my horse. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php