Ajax call working on Google Chrome but not on IE 11
As I can see your Button type="submit"
. If it is inside the form tag
then call the ajax request
in action
of the file. As I can see from above comments this might be the issue. As you are submitting something this changes to a POST
request and not GET
request so its giving the error method not allowed. And looking at the solution just change the Button type='button'
or call the ajax
on the action
of form tag
. It should work.