Hi all,
had anyone the same experiences with jquery ajax() and the beforeSend property??? And even better... any advice how to fix this problem ??? THX ;-) Actually what i am doing is reading from the database with an ajax call before i wanna sent the new data to the database via ajax (I deed to get to the last page of all comments). Wha...
Hi All,
I am working on a project to call a webservice from different domain using $.ajax with dataType set to jsonp.
$.ajax({
type: "GET",
url: testService.asmx,
async: true,
contentType: "application/json; charset=utf-8",
dataType: "jsonp",
beforeSend: function (XMLHttpRequest) {
...
Currently having problems with jQuery Ajax calls. It's stuck at beforeSend, no alert is sent from error or success. How come?
Code:
$('#addpost button').click(function(e) {
e.preventDefault();
var $post = $('#addpost textarea').val();
var $subject = $('#addpost input').val();
$.ajax({
url: 'p...