jQuery Ajax
$.ajax({
type: 'POST',
url: '/services/service.asmx/ServiceMethod',
data: "q="+myform.serialize(),
success: function(data){
// on success use return data here
},
error: function(xhr, type, exception) {
// if ajax fails display error alert
alert("ajax error response type "+type);
}
});