[Javascript] action="insert"

David Dorward david at dorward.me.uk
Fri Feb 10 05:49:29 CST 2006


On Fri, Feb 10, 2006 at 11:39:29AM +0000, Matt Barton wrote:
> David Dorward wrote:


>> Which would bring what benefits?

> Without seeing the page/site you could never tell, but there could be 
> many potential benefits.
> 
> Design consistency

>From the visual point of view, it makes no difference. Two buttons look
the same, submit buttons or otherwise.

> simplicity

JS + 2 Buttons + Hidden input Vs 2 Submit Buttons

I'm betting the latter will be simpler.

> sheer bald preference.

I'd hope that developers wouldn't add an unnecessary dependency on
JavaScript while creating more work for themselves out of
"preference".

-- 
David Dorward                                      http://dorward.me.uk




More information about the Javascript mailing list