transfrom submit button to hyperlink


/ Published in: JavaScript

Convert a form submit button code to a hyperlink code and hide the form


Copy this code and paste it in your HTML
  1. <a href="#" onclick="document.getElementById('email').submit();return false" title="Submit form">Submit Form</a>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.