help debugging an ajax problem -


anyone have idea why isn't working?

$(function(){     console.log('ready');     $.ajax({         datatype : 'jsonp',         jsonp : 'js',         url : 'http://monitor.302br.net/monitorscoreservlet',         beforesend : function(jqxhr, settings) {             console.info('in beforesend');             console.log(jqxhr, settings);         },         error : function(jqxhr, textstatus, errorthrown) {             console.info('in error');             console.log(jqxhr, textstatus, errorthrown);         },         complete : function(jqxhr, textstatus) {             console.info('in complete');             console.log(jqxhr, textstatus);         },         success: function(data, textstatus, jqxhr){             console.info('in success');             console.log(data, textstatus, jqxhr);         }     });  });  

this working till recently. beforesend handler never fires, can see ajax call being made in firebug, , if go url, seems return acceptably formatted results (the same results before):

http://monitor.302br.net/monitorscoreservlet?js=jsonp1298046640938
text/javascript:

(84.3); 

if comment out url, beforesend fires, of course, there's no url....

any ideas?

ajax requests are, definition, restricted current domain. therefore, cannot request external url domain.


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -