Skip to main content
Category

JavaScript

Submit form without having submit button ?

By JavaScript No Comments

Here is an example,how to avoid submit button to submit the form.here we have used jQuery form submit method.<html><head><title>Submit form without having submit button</title><script type=”text/javascript” src=”jquery.js”></script><script type=”text/javascript”>$(document).ready(function(){$(“a#submit”).click(function(){$(“#target”).submit();});});</script></head><body><form method=”post” id=”target” action=”test.php”>What’s…

Read More