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
Vijay
NA
150
90.5k
How to parse data from Json Result in Jquery Ajax?
Jun 2 2016 1:02 AM
I am getting Json Data from WCF service. But I unable to extract/parse data in Jquery Ajax Call?
Ajax:
$.ajax({
type: 'GET',
contentType: 'application/json; charset=utf-8',
url: './Services/Service.svc/GetUserDetails',
data: { uname: 'e0205' },
async: false,
dataType: 'json',
success: function (response) {
//var testMsg = $.parseJSON(response);
alert(response.GetUserDetailsResult);
},
error: function (error) {
alert(error);
}
});
Json Data
:
{"GetUserDetailsResult":"{\"Table\":[{\"UserName\":\"E0205\",\"EmpName\":\"Manjeet\",\"LocationName\":\"Gurgaon\",\"Designation\":\"Analyst\"}]}"}
Kindly suggest any possible ways. Thanks in advance.
Reply
Answers (
6
)
How to get all selected checkbox in jquery Datatable?
how to access array of datetime from viewdata in javascrip