Hi there,
I am new to JQuery and I am trying to implement the getJSON function.
my code for utilizing the getJSON follows:
$(un).blur(function () {
$.getJSON('Services/UsernameAvailable.aspx?' + escape($(this).val()),
function (results) {
alert(results);
});
});
where un in a reference to a Textbox.
I can debug and verify that the call to
'Services/UsernameAvailable.aspx?' + escape($(this).val())
occurs and return correct answers.
My problem is that the "success callback function" of the getJSON function is NEVER called.
Any idea of what I am doing wrong ?