two submit button for a form cloned
<p>There is a NEWFORM button to create new form when clicked.and each form has two button. this two buttons work as submit.and has two different request to action page. my question : is it possible to use this two button as two submit ?
here is my snippet :</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).ready(function() {
  $(".newform").click(function() {
    $(".MyForm")
    .eq(0)
    .clone()
    .show()
    .insertAfter(".MyForm:last");
  });

  $(document).on('click', '.MyForm button[type=submit]', function(e) {
    e.preventDefault() // To make sure the form is not submitted 
    var $frm = $(this).closest('.MyForm');
    console.log($frm.serialize());
    $.ajax(
        $frm.attr('action'), 
        {
          method: $frm.attr('method'),
          data: $frm.serialize()
        }
    );
  });
});</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.1/jquery.min.js"&gt;&lt;/script&gt;
&lt;span class="newform"&gt;NEWFORM+&lt;/span&gt;
&lt;div class="all"&gt;
  &lt;form class="MyForm" method="post" action="secondpage.htm"&gt;
    &lt;input type="text" placeholder="name" value="Aynaz" name="a1" /&gt;
    &lt;select name="Avg"&gt;
      &lt;option value="1"&gt;1&lt;/option&gt;
      &lt;option value="2"&gt;2&lt;/option&gt;
    &lt;/select&gt;
    &lt;button type="submit"&gt;add from DB&lt;/button&gt;
     &lt;button type="submit"&gt;Remove from DB&lt;/button&gt;
  &lt;/form&gt;
&lt;/div&gt;</code></pre>
</div>
</div>
</p>