javascript - IE and jQuery posts are not working -


I am trying to post with jQuery AJAX on my backend, and it works in all browsers except Internet Explorer (i.e. 11).

Am I missing something for IE?

  var example = "example / 1234"; JQuery.post ('# {test_path}', {URE: example}, function (R) {if (r.status === 201) {// success} and {// failure}});  

Supported on my test_path

  def render trial: json = & gt; {: Condition = & gt; 401} end  

edit : The code just hangs up the post does not reach my controller, the console log remains blank and the network tab does not contain any posts information. Shows

Try to insert Yuri as a first parameter (a string) and not in that object, e . G:

  jQuery.post ('/ some / uri', {myPostDataKey: 'myPostDataValue'}, function (R) {if (r.status === 201) {// success } Else {// failure}});  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -