you can do this with ajax that calls a web service or web api function.
<script type="text/javascript">
<pre>if((window.event.clientX<0) || (window.event.clientY<0))
{
$.ajax({
type: "POST",
url: 'YOURWEBSERVICENAMEHERE.asmx/UpdateLoginPassword',
data: "",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (msg) {
alert('success');
},
error: function (e) {
alert('fail');
}
});
}
};
</script>