Use the $.ajax() function: in it among other you can specify a structure of data to pass to your action page
-----Messaggio originale----- Da: BMnt [mailto:bmonter...@gmail.com] Inviato: venerdì 6 novembre 2009 23.29 A: jQuery (English) Oggetto: [jQuery] Check form before submit with ajax I'm building a web form with containing 3 fields. When the form is submitted a search is done in a database, everything is ok. Now, in order to help the user, I would like to display on the form the number of results he will get if the form is submitted. What's the best way to get this behaviour? With a single field it's quite easy ($.get or $.load), but when I add multiple checkboxes or multiple select, the construction I cannot build the request anynmore... Can someone give me some hints to build my form? Thanks,