problems with multiple form submission

problems with multiple form submission

hello !

I want to submit 4 ajax forms with one button..How can I do ?

**For each form I have code like :

forms 
  1. <div id = \"tabs-5\" class = \"Formulaire\"><center>
  2.                 <textarea name = \"parcours_prof\" id = \"parcours_prof\" rows = \"20\" cols = \"100\">".$PARCOURS_PRO."</textarea><br />".$PARCPRO_BUTTON."</center>
  3.                 <br class = \"clear\" />
  4.         </div>

submit button per form
  1. $PARCPRO_BUTTON = "<input type='button' name='parcpro_save' id='parcpro_save' value=\" Enregistrer le rapport \">";

script called for submit
  1.  if ($('#parcpro_save').length ) {
  2.                                 $( '#parcpro_save' ).click( function( e ) {
  3.                                         var allInputs = $( ':input' );
  4.                                         $.post( 'inc/db.mysql.parcpro.ajax.php', allInputs.serializeArray(), function( data ) {
  5.                                                 scripts.empty().html( data );
  6.                                         });
  7.                                         return false;
  8.                                 });
  9. }

Thank you for help