Topic: in xajax post data from dynamic fields

I have add row dynamically in table.then i submit button.the data doesn't post .(using xajax and php)

here is code...

function fone($data)
    $objResponse = new xajaxResponse();
        $id = $data['next']; // hidden field with id="next"

      // add <tr>
      $objResponse->create('tbody_id', 'tr', 'row_' . $id); 
      // add <td>
      $objResponse->create('row_' . $id, 'td', 'td_row_' . $id . '_input1');
      $objResponse->create('row_' . $id, 'td', 'td_row_' . $id . '_input2');
      // assign values to <td>
      $objResponse->append('td_row_' . $id . '_input1', 'innerHTML', '<input type=text name=\"test['.$id.']\" value='.$id.' ><br>');
      $objResponse->append('td_row_' . $id . '_input2', 'innerHTML', '<input type=text name=\"test1['.$id.']\" value='.$id.' ><br>');
      // increment value for next row
      $objResponse->assign('next', 'value', $id + 1);
    return $objResponse;

function ffour($data)
    $objResponse = new xajaxResponse();
    return $objResponse;

HTML code is

<table id="tbl">

      <tbody id="tbody_id">      </tbody>
    <form name="bom_entry" id="bom_entry" method="POST" class="forminput"   >

    <input type="hidden" name="next" id="next" value="0" />
    <input type="button" value="Add Row" onClick="xajax_fone(xajax.getFormValues('bom_entry'));" />
    <input type="button" value="Save" onClick="xajax_ffour(xajax.getFormValues('bom_entry'));" />