Want to build the ChatGPT based Apps? Start here
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
naveen kumar
2.1k
47
5.1k
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