"submit()" event, "serialize()" and submit buttons. Get the button name

"submit()" event, "serialize()" and submit buttons. Get the button name

Hi everyone,

On the server side, I'm using a web framework that use submit button "name" attribute to decide which action to perform. On the client side, I have an script that submit forms in Ajax with the "serialize()" functions.

But as the JQuery documentation said, the serialize() function don't send the submit buttons names. I have tried to get the event.target object but this object is the form itself.
So, I wonder to know if he is a way to discover obtains the name of the button that has triggered the form submission.

Thanks