$.ajax to call a web service
Can't get anything returned, it just hangs, if I paste in the full url into my browser, xml comes back. Any ideas please where the problem is:
function fnGetDictDefinition() {
$.ajaxSetup({ cache: false });
$.ajax({
type: "POST",
url: "http://services.aonaware.com/DictService/DictService.asmx/Define?word=task",
dataType: "xml",
success: function(msg) {
$("#sec01").html(msg);
}
});
}