[jQuery] Re: Cross Port Jquery Library Call

2009-05-18 Thread Shadraq

In case anyone stumbles in here with the same issue, I was able to
solve this pretty easily...

As long as your library includes aren't port specific, and your $.post
() url is pointing to the port you need (http(s)) then, there won't be
any problems.

Your library call should be something like this: script type=text/
javascript  src=/scripts/js/jquery-1.3.2.js/script

hope it helps someone...


[jQuery] Re: Cross Port Jquery Library Call

2009-05-13 Thread Andy Matthews

Can you put the jQuery file inside the secure server's domain, then
reference it from there for both sites?

-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Shadraq
Sent: Wednesday, May 13, 2009 1:03 PM
To: jQuery (English)
Subject: [jQuery] Cross Port Jquery Library Call


I have created a payment system using Jquery. The problem I run into is when
I move from http to https. I get the following error:

Error: [Exception... Access to restricted URI denied  code: 1012
nsresult: 0x805303f4 (NS_ERROR_DOM_BAD_URI)  location: https://
www.stirthewater.com/scripts/js/jquery-1.3.1.min.js Line: 19] Source File:
https://www.mysite/scripts/js/jquery-1.3.1.min.js
Line: 19

I spent roughly 3 hours on Google trying to find a solution to this library
cross-port call. It's possible I didn't see the right article.
However, if someone could toss me a lifeline and help me out, it would make
my day.

Thanks,
Shadraq




[jQuery] Re: Cross Port Jquery Library Call

2009-05-13 Thread Shadraq

Andy

Are you suggesting that I create an exact copy of all scripts I'm
using and put them into the ssd? Or are you saying that I should move
my scripts folder to the ssd and my cross-port issues will disappear?

If you meant the first, I don't think having 2 scripts folders with
the same content seems like such a good idea. I was hoping for some
sort of workaround that I could put into my code.

If you meant the second: I must admit I have never tried that. I
assumed that since the files won't work cross port, that it didn't
matter which port it was in...

Perhaps I misunderstood...?

Thanks,
Shadraq