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
veerendra kumar
NA
47
20.5k
Jquery
May 6 2015 6:08 AM
RETRUN object has a one student record. how to parse the data
class Object
{
public int x{get;set;}
public string y{get;set;}
public string z{get;set;}
Object Get(int a)
{
Object a={1, "xyz","abc"};
retrun a;
}
$(document).ready(function () {
$.ajax({
Type: "Get",
url: 'http://localhost:30074/api/User/Get?id=7',
datatype: "json",
contentType: "Application/json",
data: {},
success: function (data) {
bind data to the T1,T2,T3 Textboxes.
}
alert(data);
},
error: function (e) {
alert("fail");
}
});
Reply
Answers (
2
)
Load image using asmx file in JQuery call.
Remove the unwanted string in output string value jquery