title: Where in the file and how do I submit a form using Jquery
body: <p>I bought a template online and i'm trying to develop a website and I'm stuck on the contact form.  I can't seem to get it to submit.  When I click submit it just remains static, but i'd like to get it to run the action- that is go to the contactTq.php page.  Below is all the code i think you need.  but if you want the entire .js file it's here: <a href="http://pastebin.com/1B1j9pkB" rel="nofollow">http://pastebin.com/1B1j9pkB</a></p>
  
  <pre><code>,submitFu:function(){
  _.validateFu(_.labels)                          
  if(!_.form.has('.'+_.invalidCl).length)
      $.ajax({
          type: "POST",
          url:_.mailHandlerURL,
          data:{
              name:_.getValFromLabel($('.name',_.form)),
              email:_.getValFromLabel($('.email',_.form)),
              phone:_.getValFromLabel($('.phone',_.form)),
              //fax:_.getValFromLabel($('.fax',_.form)),
              //state:_.getValFromLabel($('.state',_.form)),
              message:_.getValFromLabel($('.message',_.form)),
              owner_email:_.ownerEmail,
              stripHTML:_.stripHTML
          },
          success: function(){
              _.showFu()
          }
      })          
  },
  showFu:function(){
  _.success.slideDown(function(){
      setTimeout(function(){
          _.success.slideUp()
          _.form.trigger('reset')
      },_.successShow)
  })
  },
  </code></pre>
  
  <p>Here is the form im using:</p>
  
  <pre><code>&lt;form id="contact-form" action="contactTq.php" method="post"&gt;
  &lt;div class="success"&gt; Contact form submitted! &lt;strong&gt;We will be in touch soon.&lt;/strong&gt;&lt;/div&gt;
  &lt;fieldset&gt;
      &lt;label class="name"&gt;
          &lt;input type="text" value="Enter Your Name:"&gt;
          &lt;span class="error"&gt;*This is not a valid name.&lt;/span&gt;
          &lt;span class="empty"&gt;*This field is required.&lt;/span&gt;
          &lt;span class="clear"&gt;&lt;/span&gt;
      &lt;/label&gt;
      &lt;label class="email"&gt;
          &lt;input type="text" value="Enter Your E-mail:"&gt;
          &lt;span class="error"&gt;*This is not a valid email address.&lt;/span&gt;
          &lt;span class="empty"&gt;*This field is required.&lt;/span&gt;
          &lt;span class="clear"&gt;&lt;/span&gt;
      &lt;/label&gt;
      &lt;label class="phone"&gt;
          &lt;input type="text" value="Enter Your Phone (optional):"&gt;
          &lt;span class="error"&gt;*This is not a valid phone number.&lt;/span&gt;
          &lt;span class="clear"&gt;&lt;/span&gt;
      &lt;/label&gt;
      &lt;label class="message"&gt;
          &lt;textarea&gt;Enter Your Message:&lt;/textarea&gt;
          &lt;span class="error"&gt;*The message is too short.&lt;/span&gt;
          &lt;span class="empty"&gt;*This field is required.&lt;/span&gt;
          &lt;span class="clear"&gt;&lt;/span&gt;
      &lt;/label&gt;
      &lt;div class="buttons"&gt;&lt;strong&gt;&lt;a class="button" data-type="reset"&gt;Reset&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;strong&gt;&lt;a class="button" data-type="submit"&gt;Submit&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;
  &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>If you need any other info, please let me know.  Would appreciate any help.  Thanks in advance!</p>