Why does jQuery.ajax() add a parameter to the url?

后端 未结 2 2077
温柔的废话
温柔的废话 2020-11-29 08:46

I have a data fetching method that uses jQuery.ajax() to fetch xml files.

/*    */data: function() {                                                    


        
2条回答
  •  醉梦人生
    2020-11-29 09:16

    it should be ignored.

    Just to make a test, if you are using rails, don't use the javascript_include_tag but pass the JavaScript as

     
    

    It won't enable the cache-buster and with that you can see if your problem is where you think that it is.

提交回复
热议问题