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
naveen kumar
NA
47
6k
Ajax post the data success message not getting
Apr 13 2018 8:40 AM
Hi Am Posting data to server data send successfully but am not getting success message
this is my code
function sendingdate() {
/
var ajaxservice = WebUrl + "getAttachment?userid=" + userid + "&company_id=" + companyid + "&outlook_key=" + OutlookKey + "&callback=OutlookWeb";
$.ajax({
url: ajaxservice + "getAttachment?outlook_key=" + OutlookKey + "&callback=OutlookWeb",
data: { "Attachment_Name": AttachmentName, "Attachment_content_data": Attachmentcontentdata },
type: 'POST',
contentType: "application/json",
dataType: 'json',
success: function (data) {
console.log(JSON.stringify(data));
},
error: function (errorThrown) {
console.log('Could not get posts, server response:', errorThrown);
}
});
any give me best suggestion
Reply
Answers (
3
)
Simple BarChart from JSON Data
Getting ajax readystate 0 status 0 stuts :error