title: i want a anchor should act like and input type submit button
body: <p>i want a anchor should act like and input type submit button.
  i am using a jquery plugin library that actually uses input type submit but i have styled my buttons on anchors. i dont want to use </p>
  
  <pre><code>&lt;input type="button"&gt;
  </code></pre>
  
  <p>or </p>
  
  <pre><code>&lt;input type="submit"&gt;
  </code></pre>
  
  <p>i want to use anchors such as </p>
  
  <pre><code>&lt;a href="javascript to submit the form" &gt;&lt;/a&gt;
  </code></pre>
  
  <p>and here is my jquery code where i want to use</p>
  
  <pre><code> {
       var submit = $('&lt;button type="submit" /&gt;');
       submit.html(settings.submit);                            
   }
   $(this).append(submit);
   }
   if (settings.cancel) {
       /* if given html string use that */
       if (settings.cancel.match(/&gt;$/)) {
           var cancel = $(settings.cancel);
           /* otherwise use button with given string as text */
       } else {
           var cancel = $('&lt;button type="cancel" /&gt;');
  </code></pre>
  
  <p>how to use anchors instead of button.</p>