$.ajax({
type: "POST",
cache: false,
url: "https://www.mysite.com/verifylogin.php",
dataType: "html",
data: {username : "username",
password : "password"
},
success: function (response) {
//do something here with response
},
error: function () {
//do something here if error
}
});