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

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -