jquery serialize not working
<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="nofollow"><strong>fiddle</strong></a> </p>
