title: jQuery serialize not working
body: <p>I was dabbling with the form serialize but surprisingly its not serializing the form. Here is the code:</p>
  
  <pre><code>&lt;div id="content"&gt;
  &lt;/div&gt;
  &lt;form  id= "myform"&gt;
      &lt;input type="text" id="inp"value="mytext"&gt;
      &lt;input type="button" id="btn" value="serialize"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Here is the jQuery code I am working with:</p>
  
  <pre><code>$("form").submit(function(e){
      e.preventDefault();
      var v= $(this).serialize();
      console.log(v);
  });
  </code></pre>
  
  <p>Here is the <a href="http://jsfiddle.net/6fgUg/21/" rel="noreferrer"><strong>fiddle</strong></a> </p>