i tried to Submit my form with ajax with out reloading the whole page, but the ajax is not working, here is the code i used

```
$("#sendingform").submit(function(){

        var mess  = $("#urmess").val();
        var mid = "1";
        alert (mid);
        $.ajax({
            url: 'ajax/send.php',
            data: { mid: mid, mess: mess},
            success: function (data){
                alert(data);
            }
        });

        return false;
    }); 

```

the html is

```
<hr/>
<form action="#" id="sendingform" method="post">
   <textarea id="urmess" class="conposer" name="messtxt"></textarea>
   <input type="submit" class="sendbtn" name="go" class="send" value="Send"/>

 </form>

```