Problem performing Ajax call from ASP.NET MVC2 app
问题 I'm converting an existing ASP.NET app to MVC2, and I have an existing method that is called through jQuery using Ajax, that worked before, but does not work now. So it seems there are some change I need to do due to using MVC2 that I can't figure out. I have reduced the complexity of the code, but it still do not work. This is my current code: jQuery script that trigger on button click function leaveComment() { if (validate()) { $.ajax({ type: "POST", url: "/Pages/PostBlogComment", data: "{