jquery Programming Glossary: postblogcomment
Problem performing Ajax call from ASP.NET MVC2 app http://stackoverflow.com/questions/5371658/problem-performing-ajax-call-from-asp-net-mvc2-app my current code jQuery script that trigger on button click function leaveComment if validate .ajax type POST url Pages PostBlogComment data 'name' 'Test' 'url' 'Test' 'email' 'Test' 'body' 'Test' 'postid' 'Test' dataType json success function msg success.. msg error code goes here Inside my controller called Pages I have created the following method public string PostBlogComment string name string url string email string body string postid return This is a test When debugging I can see that the PostBlogComment.. string name string url string email string body string postid return This is a test When debugging I can see that the PostBlogComment method gets called but there are two major problems I'm facing here All arguments to the method is received as null so I..
|