> WIth normal form submission without AJAX, the browser always send the > name and value of the submit button. > > My web framework, needs this parameters, to find out if the button was > clicked, in order to call its listener method... > > It seens that the ${form}.serialize() doesn´t append the submit name/ > value in tue query String. > > I tested the Form.serialize() from protype and it works. > > But I prefer use Jquery, since it´s easier and has more web 2.0 > functionalities. > > any idea?
The Form Plugin's ajaxForm method will do this for you. Info available here: http://www.malsup.com/jquery/form/