> I've got a situation as follows...
> 
> +-------------------------+
> | form....                |
> |  (cancel)    (submit)   |
> +-------------------------+
> 
> Both buttons are actually image input tags as I use custom 
> images rather than simply the generic buttons.  The default 
> action (e.g. when you hit Enter while editing a field) goes 
> to the cancel button.  I'd like the submit button to be the 
> default action.  Is there any easy way to do this?

Why not just put the submit button first? That's how most interfaces work,
anyway - the "ok" button precedes the "cancel" button.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Sams Teach Yourself Regular Expressions in 10 Minutes  by Ben Forta 
http://www.houseoffusion.com/banners/view.cfm?bannerid=40

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182409
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to