我有一个网站上的https连接某些页面。从这些https网页,我必须使用的一些错误检索像空字段一个HTTP Ajax请求。但是,此错误消息不来了。有没有什么解决办法,否则我必须做出对HTTPS连接文件Ajax请求。
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 .
在此先感谢
这是不可能的,由于同源策略。
This is not possible due to the Same Origin Policy.
您将需要切换Ajax请求到https了。
You will need to switch the Ajax requests to https, too.
上一篇:在填充在2个不同的AjaxCalls的价值观的话选择问题的话、价值观、不同、问题
下一篇:HttpPostedFile在文件上传过程中为空,如果我使用AJAX为空、过程中、文件上传、HttpPostedFile