How Can I Implement A Javascript That Submit This Form According To The Clicket Button? January 29, 2024 Post a Comment I have the following problem that I can't solve: I have this form into an HTML table: CopyAlternatively, what you can do is, to give your buttons different id but same name.<button id="accept" name="ctrl" value="Accept"type="submit" class="acceptButton">ACCEPT</button> <button id="cancel" name="ctrl" value="Cancel"type="submit" class="cancelButton">CANCEL</button> <button id="sap" name="ctrl" value="SAP"type="submit" class="sapButton">SAP</button> CopyThen you can check the form request which will contain your value with the same key:ctrl:Acceptctrl:Cancelctrl:SAPCopyIf you have different names, you will have a different key for every button. Share You may like these postsHow To Dynamically Load Content From An External Url, Inside Of A Jquery Ui Modal Dialog Widget?How To Re-open A Menu After A Select Event That Involves A Search Event?Colums Resize When Using Jquery Ui's Toggle In IeJquery Ui Resizable Returning The Size Post a Comment for "How Can I Implement A Javascript That Submit This Form According To The Clicket Button?"
Post a Comment for "How Can I Implement A Javascript That Submit This Form According To The Clicket Button?"