I want to use jQuery to make a simple call to my MVC controller. I was able to debug the server side, meaning the controller picked up the ajax call and return the information requested. But the client side is never updated after server side returns. When I use FireBug to debug the script, the client side is stuck on event.isImmediatePropagationStopped() in handle() of jquery-1.4.1.js. Does that mean the client side simply didn't get called back? Please help.
$('#ToZip').blur(function() {
$.getJSON('http://localhost:3958/home/GetZipInfo?id=' + this.value,
function(result){
$("#ToCity").val = result.City;
$("#ToState").val = result.State;
}
)
});
public ActionResult GetZipInfo(string id)
{
// some code to prepare return value, zip
return Json(zip, JsonRequestBehavior.AllowGet);
}
Thanks in advance