form plugin - mulsup problem

form plugin - mulsup problem

Have a problem,when click on update button,an text is edited and added againg,here is the code :
  1. <form action="moj.php" id="my-form" method="get">
  2.   <textarea class="txt-area-class" id="txt-area-id" name="txt-area-name" cols="40" rows="1"></textarea>

  3.  <input type="reset" value="Cancel" id="btnReset" />

  4.   <input type="submit" value="Add text" id="btnAdd"  />

  5.   <input type="submit" value="Edit text" id="btnEdit" />

  6. </form>

  7. .
  8. .
  9. .

  10.  var form_add = {
  11.         data: {'my_var':'1'},
  12.         dataType: 'json',
  13.         cache:false,
  14.         beforeSubmit : function(formData, jqForm, options,responseText,msg){
  15.             zahtevZaObradu(formData, jqForm, options,responseText,msg='Dodan je text');
  16.         },
  17.         url:        'moj.php',
  18.         success:     obradjenZahtev,
  19.         resetForm: true
  20.     };
  21.  var form_edit = {
  22.         data: {'my_var':'2'},
  23.         dataType: 'json',
  24.         cache:false,
  25.         beforeSubmit : function(formData, jqForm, options,responseText,msg){
  26.             zahtevZaObradu(formData, jqForm, options,responseText,msg='Izmenjen je text');
  27.         },
  28.         url:        'moj.php',
  29.         success:     obradjenZahtev,
  30.         resetForm: true
  31.     };
  32. .
  33. .
  34. .
  35.  function zahtevZaObradu(formData, jqForm, options,responseText,msg) {
  36.             alert($.param(formData));
  37.             return true;
  38.     }
  39. .
  40. .
  41. .
  42.  $("#btnAdd").click(function(){
  43.             $("#my-form").ajaxForm(form_add);
  44.         });
  45.  $("#btnEdit").click(function(){
  46.             $("#my-form").ajaxForm(form_edit);
  47.         });
      I just want to edit text,not to add it.Tnx in advance