The only way to semantically capture the submit button, in a browser,
is to monitor which button is actually clicked. You can do this with
the Form plugin:
http://malsup.com/jquery/form/

--John

On 9/13/07, Mirko <[EMAIL PROTECTED]> wrote:
>
> I' was reading about the new jQuery 1.2 serialize() and I don't know
> if
> it's a bug or an intended feature but with $(":input").serialize() or
> $
> (":input").serialize() I can't get values of submit buttons?
>
> The same goes for <button name="xyz" value="zyx">.
>
> Is this the way it should be???
>
> I always test against those elements to see if the form is submitted.
>
> Greetz
>
>

Reply via email to