Two buttons for one form

Two buttons for one form

Hi,

I have below view which has Save and Delete buttons..

The Save button will invoke:

  1. $('#frmContact').submit();

But What's the best way to invoke the Delete button?

Kindly advise..

  1. <div id="popupCustomerContact" style="display: none;">
  2.     <form id="frmContact">
  3.         <div id="lookupContactCategory" style="margin-bottom: 20px;"></div>
  4.         <div id="txtContactDetails" style="margin-bottom: 20px;"></div>
  5.     </form>
  6.     <center>
  7.         <div id="btnDeleteContact" class="savannadeletebutton" style="text-align: center; display: none;"></div>
  8.         <div id="btnSaveContact" class="savannabutton" style="text-align: center;"></div>
  9.     </center>
  10. </div>


Thanks,
Jassim