title: use a button type submit but not for submitting form
body: <p>I really need a button type submit for make an autocomplete works.But I do not  want to submit the form with it.Is there any way to have a button type submit not for submitting form??</p>
  
  <p>this is my html:</p>
  
  <pre><code>&lt;form  class="ajax" action="ajax.php?{$my_admin_module}_do&amp;action=new"&gt;
              &lt;tr &gt;
                  &lt;td &gt; کلمات کلیدی: &lt;/td&gt;
                  &lt;td &gt;&lt;input type="text"  id="keyword" name="keyword" class="form-control" autocomplete="on" /&gt;
                      &lt;!--&lt;input type="button" name="button_1" value="افزودن" class="btn btn-primary" id="add" style="margin: 10px"/&gt;--&gt;
                      &lt;button type="submit" name="btn" id="add"&gt;add&lt;/button&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
               &lt;tr &gt;
                  &lt;td&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;input type="submit" value="submit" /&gt;&lt;/td&gt;
              &lt;/tr&gt;
   &lt;/form&gt; 
  </code></pre>
  
  <p>jaquery:</p>
  
  <pre><code>&lt;script&gt;
  $(document).ready(function(){
     $("#add").click(function(){
         var keyword=$("#keyword").val();
         $( ".keywords" ).append( "&lt;input type='hidden' name='keywords[]' value='"+keyword+"'&gt;"+keyword+"،" );
         $("#keyword").val("");
     });
  });
  &lt;/script&gt;
  </code></pre>