New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

Cross domain Ajax POST not working

Return to previous page

  • 6/27/2017
  • 2305 Views

Question:

Harry Wong 7 years ago

We are using DNN 8.01, and try to make cross domain ajax post in MVC module views, using JQuery, but it shows result like:

XMLHttpRequest cannot load https://xxx.xxx.com/Terminal. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.x.x' is therefore not allowed access.

10:20:43.236 Testing6:773 XHR failed loading: POST "https://xxx.xxx.com/Terminal".

We tried to modify the web.config to allow cross domain post, but it not working.

Do anyone can help or give any suggestion?

Thanks.

Cross domain Ajax POST not working

Harry Wong
Harry Wong 7 years ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member