jQuery Ajax调用https

I'm working on a windows Phone 8 Project, where I need to perform an Ajax call from Javascript to https link, I had a lot of problems with doing that unlike calling a normal http link, So is this even possible? and if possible, then how? and would it be supported by a wide range of devices browsers?

So you are saying that you would like to call an https page from a http page? Also that it works when you use normal http?

I would guess that it is a problem with Access-Control-Allow-Origin not being set on the other server if it does not work with http either.

Access-Control-Allow-Origin: https://www.mysite.com

Or you could just need to use JSONP if you are trying to retrieve JSON data back.

http://www.ibm.com/developerworks/library/wa-aj-jsonp1/