I have this code :
$.ajax({
type: "POST",
url: "tosql.php",
data: {
content, content
}
});
I was wondering how I could get a callback from tosql.php (the result) and add that html to div class = "content"
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do that within the
successcallback:Also (if it’s not a typo on your part), object property names and values are separated by the colon:
and not the comma: