jQuery form not being submitted. Firebug no errors
<p>This jQuery isn't working.  When i click Vote nothing happens.  The div ratecontainer should disappear and nothing is inserted into MySQL when i check.  In Firebug i get no errors.  What did i do wrong?</p>

<pre><code>echo "&lt;div class='ratecontainer'&gt;   
&lt;form id='rateform' action=''&gt;  
&lt;input type='hidden' id='rateid' value='$stackid' /&gt;
&lt;input type='hidden' id='type' value='1' /&gt;     
&lt;a class='vote'&gt;Vote&lt;/a&gt;
&lt;/form&gt;
&lt;/div&gt;";

 $(function() {
$('.vote').click(function() {


    var rate= $("#rateid").val();  
    var type= $("#type").val(); 
    var vote = "0";    
    var dataString = 'id=' + rate + '&amp;type=' + type + '&amp;v=' + vote;

      //alert (dataString);return false;
      $.ajax({
        type: "POST",
        url: "/rate.php",
        data: dataString,
        success: function() {

          $('.ratecontainer').hide();

         }
      });
      return false;

});

});
</code></pre>
