BTW, I know this security error is supposed to hold true for different domains but these are on the same domain and to top it off I used a relative link instead of even putting in the domain name so I would have thought jQuery would use the current protocol (https OR http) depending on which page was calling it.
On Jun 19, 10:54 am, AsymF <[EMAIL PROTECTED]> wrote: > 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 athttps://www.mysite.com/ > may not load data fromhttp://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.