You can use ajax post to call the code behind methods
example below :
$.ajax(
{
type: "POST",
url: "PageName.aspx/MethodName",
data: ,
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(result) {},
error :function(ex){}
}