Tuesday, 15 June 2010

javascript - jQuery ajax working in chrome but not in IE 9 -



javascript - jQuery ajax working in chrome but not in IE 9 -

following jquery snippet works in chrome not in ie-9 missing. first alert shows in both ie , chrome sec 1 works in chrome.

getbeaconxml: function () { var myself = this; var beaconurl = this.beaconxmlurl; alert("url : " + beaconurl); $.ajax({ async: false, url: beaconurl, datatype: "xml" }) .done(function (data) { alert("reach done"); myself.bxml = data; myself.parsebeaconid(); myself.parseusekey(); myself.parsebeacons(); }); },

http://api.jquery.com/jquery.ajax/ in documentation there no method done. seek success or complete depending on task.

javascript jquery

No comments:

Post a Comment