jQuery submit function not triggered
<p>I have a form</p>

<pre><code>&lt;form id="solicitud" action="ventas.php?content=nuevo" method="post"&gt;
...
&lt;/form&gt;
</code></pre>

<p>Then I have to submit my submit using jQuery but I can't get it working</p>

<pre><code>  $("#nombres").click(function(){
    alert('clicked');
    $("form").submit(function(event){
         event.preventDefault();
    });
});
</code></pre>

<p>The alert function is called but my form isn't submited, what am i doing wrong?</p>
