When I execute the following code:
------
$.getJSON('/apps/sendnote.php?a=1&id=5', function (id, status_text) { /
*func code here*/ });
------

I get the error:
------
uncaught exception: Security Error: Content at https://www.mysite.com/
may not load data from http://www.mysite.com/apps/sendnote.php?a=1&id=5
------

This happens in Firefox 2.

How can I get jQuery to send the AJAX request through the proper
protocol? It is a mixed bag as to whether the page it is called from
will be http or https.

Reply via email to