HTTP Ajax Request via HTTPS Page

ajax, javascript

Solution

This is not possible due to the Same Origin Policy.

You will need to switch the Ajax requests to https, too.

Problem

I am having a site with some pages on HTTPS connection. From these HTTPS pages, I have to use a HTTP Ajax request for some errors retrieval like blank fields. But this error messages are not coming. Is there any solution to it or I have to make that AJAX request to file on HTTPS connection?

Original source

Related problems