Return to Snippet

Revision: 24087
at February 20, 2010 14:05 by wdso


Initial Code
jQuery.ajaxSetup({  
  'beforeSend': function (xhr) {xhr.setRequestHeader("Accept", "text/javascript")}  
});

Initial URL

                                

Initial Description

                                

Initial Title
Make jQuery respond_to :js

Initial Tags
ajax, javascript, rails, jquery

Initial Language
JavaScript