>Dan,
>
>Very interesting thought. I have always done my input elements like
>this:
>
>
>
Also, I almost never have a "Cancel" button actually do a submit. While this
method isn't unobtrusive, I usually use something like:
-Dan
Dan,
Very interesting thought. I have always done my input elements like
this:
and if I wanted "btn_cancel" to be the default button, I would have to
put it first in the form. Your example of the input elements gives me
another method to try. Thank you.
On Jul 5, 11:02 am, "Dan G. Switzer
>Have you ever seen this done with an entire form, instead of just a
>single input element?
>
>I would like to be able to do something like:
>
>$
>('#my_form').defaultButton('#btn_submit').cancelButton('#btn_cancel');
>
>I found a plugin on the JQuery list that did this for an input
>element, but
3 matches
Mail list logo