title: Get values after submit in jQuery
body: <p>I have a form with just one field "search" and a submit button. My jQuery code looks like this:</p>
  
  <pre><code>$( "form.qsearch" ).submit(function() {
   alert(inputsearchfield);
  })
  </code></pre>
  
  <p>All I am trying to do is simply alert out the value in the search box. I have searched and search online and can't find anything for this simple code.  </p>