TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
shantha lakshmi
NA
9
989
ajax return is blank to the controller
Jan 29 2019 8:45 AM
Ajax return works fine in local, but returns blank when hosted
Url ="/Order/Save"
parms=json string
$.ajax({
type: "POST",
async: false,
url: Url,
dataType: "json",
data: {data: parms.getJSON()},
success: function (data) {
valuesReturned = data;
},
complete: function () { },
error: function (req, status, error) {
return error;
}
});
when tried to catch execption from ajax the error I get is--
A circular reference was detected while serializing an object of type 'System.Reflection.RuntimeModule'
when checked at server side , its hitting the server, but the data received is blank
Kindly do the needful.
regards
Reply
Answers (
3
)
how to retrieve data from view using ajax to controller ?
Passing json data to mvc page with jquery script