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:
- $('#frmContact').submit();
But What's the best way to invoke the Delete button?
Kindly advise..
- <div id="popupCustomerContact" style="display: none;">
- <form id="frmContact">
- <div id="lookupContactCategory" style="margin-bottom: 20px;"></div>
- <div id="txtContactDetails" style="margin-bottom: 20px;"></div>
- </form>
- <center>
- <div id="btnDeleteContact" class="savannadeletebutton" style="text-align: center; display: none;"></div>
- <div id="btnSaveContact" class="savannabutton" style="text-align: center;"></div>
- </center>
- </div>
Thanks,
Jassim