Jquery help creating ajax request
<p>I am trying to create an ajax request where the URL is the form on submit.</p>

<p>My Jquery:</p>

<pre><code>    $(document).ready(function() {
$('.menuitem input:checkbox').change(function(){
        $.ajax({
          type:'get',
          url:form.submit();,
          data:form.serialize(),
          success:function(msg){
            $('#formcontent').html(msg);
          }
        })
    })
    $('input:submit').hide();

    $('.menuitem input:checkbox').change(function(){
    if($(this).is(":checked")) {
        $('div.hidediv').removeClass("hidediv");
    } 
});
});
</code></pre>
