Re: Another form handling posting question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 9:02 PM -0500 12/6/07, Robert Cummings wrote:
On Thu, 2007-12-06 at 13:02 -0500, tedd wrote:

 >
 > <input type=submit name=submit type=submit>


Not to critique your form logic itself, but IMHE it is much better to
name the submit button "continue" and not "submit". Some browsers, maybe
all (I can't remember), screw things up when you try to do form.submit()
in JavaScript if there is a field called submit.

Cheers,
Rob.

Rob

As always, you are right. I wasn't thinking about js.

Also, I recently noticed that FF will add text to a Submit button if you don't.

There are lot's of things to remember here.

Thanks,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux