How to post form by clicking in anchor element
问题 How to submit form by clicking in a element ? I tried code below but Chrome sends it using http GET method. How to fix this so that form is sent using POST method ? <html> <body> <form id="_form" method='post' target='_blank'> <input type="email" value="me@company.com" name="_email" /> <a href='SendEMail?_entity=DokGReport&_dokumnrs=135361' id='sendemail' class='button'> Send </a> </form> <script> $(function () { $('#sendemail').button({ icons: { primary: "ui-icon-mail-closed" } }) .click