Add URL into Javascript
<p>How to add this :</p>

<p>type: "POST",
url: "login.php", in JS code below (exactly in comment "do your ajax call and processing here...":</p>

<pre><code>$(document).ready(function()
    {
        $("#submit_butt").click( function()
        {
            var conf =
            {
                frequency: 5000,
                spread: 5,
                duration: 600
            };
        /* do your AJAX call and processing here...
        ....
        ....
        */
        // this is the call we make when the AJAX callback function indicates a login failure 
            $("#login").vibrate(conf);
            // let's also display a notification
            if($("#errormsg").text() == "")
            {
            $("#loginform").append();       
            // clear the fields to discourage brute forcing :)
            $("#password").val("");
            document.forms['login_form'].elements['username'].focus();
            }
            else
            {

            }
        });
    });
</code></pre>
