html - Submit Button Not Responding When Clicked -


i have form, submit button not seem respond.

<form id="contact-form" action="exec.php" method="post" enctype="multipart/form-data">             <fieldset>               <label><span class="text-form">name:</span>                 <input name="p1" type="text" />               </label>               <label><span class="text-form">email:</span>                 <input name="p2" type="text" />               </label>               <div class="wrapper">                 <div class="text-form">message:</div>                 <textarea></textarea>               </div>               <div class="buttons"> <a class="button-2" href="#">clear</a> <a class="button-2" href="exec.php">send</a> </div>             </fieldset>           </form> 

use buttons instead of links.

<button type="reset" class="button-2">clear</button>  <button type="submit" class="button-2">send</button> 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -