score:1

The problem was in the HTML, so the container element was not found. So now both methods are working!

Jorelie.

score:1

BTW - you can use getJSON in MVC 3.0, but your controller method has to return the JSON object with a second parameter like so :

Json(result, JsonRequestBehavior.AllowGet);

Related Articles