ajax call with html form won't work properly
<p>I'm stuck.</p>

<p>It's like the script doesn't have any function at all.</p>

<pre><code>        &lt;script&gt;
            $("#continue").click(function () {
        $.ajax({
           type: "POST",
           url: "dbc.php?check=First",
           data: {full_name : $('#full_name').val()
                 usr_email : $('#usr_email').val()},
           success: function(msg){
               if(msg==1){
                  $("#First_1").hide();
                  $("#Next_2").toggle(); 
               }else{
                  alert(msg)
               }               
            }
         });
         return false;
    }); 
        &lt;/script&gt;

        &lt;form action="index.php?page=checkin" method="post" name="regForm"&gt;
     &lt;div id="First_1"&gt;
    &lt;table width="100%" cellpadding="0" cellspacing="0"&gt;
                        &lt;tr&gt;
                            &lt;td&gt;
                                &lt;table cellpadding="0" cellspacing="5"&gt;
                                    &lt;tr&gt;
                        &lt;td style="padding: 5px;"&gt;
                        Fullständiga namn: 
                        &lt;/td&gt;
                        &lt;td&gt;
                        &lt;input name="full_name" type="text" id="full_name" class="required"&gt; 
                        &lt;/td&gt;
                                    &lt;/tr&gt;
                                    &lt;tr&gt;
                        &lt;td style="padding: 5px;"&gt;
                        Email:
                        &lt;/td&gt;
                        &lt;td&gt;
                        &lt;input name="usr_email" type="text" id="usr_email" class="required email"&gt;
                        &lt;/td&gt;
                                    &lt;/tr&gt;
                                    &lt;tr&gt;
                        &lt;td style="padding: 5px;"&gt;
                        Sex: 
                        &lt;/td&gt;
                        &lt;td&gt;
                        &lt;select name="sex"&gt;
                        &lt;option value="male"&gt;Kille&lt;/option&gt;
                        &lt;option value="female"&gt;Tjej&lt;/option&gt;
                        &lt;/select&gt;
                        &lt;/td&gt;
                                    &lt;/tr&gt;
                        &lt;td&gt;
                        &lt;input type="submit" id="continue" value="Continue"&gt;
                        &lt;/td&gt;
                &lt;/table&gt;
        &lt;/td&gt;
            &lt;/tr&gt;
    &lt;/table&gt;
&lt;/div&gt;
</code></pre>

<p>With this when i press continue it should send ajax call, but it doesn't. When i press Continue it just takes me to the form´s action="index.php?page=checkin", even if theres return false; on click(in the script)? I even tried to change the form line and inserted onsubmit="return false;" but then nothing happens at all when i click on the button.</p>
