Submit form without having submit button ?

By November 4, 2011 JavaScript

Here is an example,how to avoid submit button to submit the we have used jQuery form submit method.
<title>Submit form without having submit button</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">


<form method="post" id="target" action="test.php">
What's your ice cream flavor ?
<input type="text" name="flavor" />
<a href="#" id="submit">Submit</a>



Leave a Reply

88 − 85 =