Hi,
Below ajax call works fine with jQuery 1.04 and returns & sets multi-value
to an input text field. But, when I try the same code with jQuery 1.1 it
fails without any error (no error message, no result,... nothing happens).
Not sure if I missed anything (regarding to upgrade changes), so any help is
greatly appreciated.
$.ajax({
type: 'GET',
url: url,
dataType: 'xml',
timeout: 10000,
async: true,
success: function( xml ) {
var result = [];
$("viewentry/[EMAIL
PROTECTED]'" + columnNo + "']", xml).each(
function(i) {
var $this =
$(this);
result[i] =
$this.text();
});
var element = $("#" +
elementID);
if (
element.attr("type") === null ) {
element.html(
result );
} else {
element.val(
result );
}
},
error: function( xml ) {
alert( "Error" );
}
});
By the way, all the variable values (url, columnNo & elementID) are the same
for both jQuery libraries.
Thanks,
Sasha
--
View this message in context:
http://www.nabble.com/%24.ajax-call-works-with-1.04-but-not-with-1.1-tf3016254.html#a8376407
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/