jqXHR vs. jQuery AJAX-requests in Rails -
i don't understand why jquery.ajax-request .csv-file fails display highchart chart in rails:
var jquery = $.get('foo.csv', function(data) {}
whereas 1 displays fine:
var jqxhr = $.get('foo.csv', function(data) {}
can please explain?
jquery
name of main function in jquery library ($
synonym it). shouldn't reuse in own code. although if local variable, don't think should affect library, uses global variable window.jquery
. it's still bad idea use variable name, confusing.
Comments
Post a Comment