Unfortunately my data isn't of type JSON, so I guess I'll go with the Proxy option.
Anyway, thanks alot for the help :) On Nov 30, 2:49 am, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > Oh and I because of the fact that a script tag is used the only > arguments that can be passed in are "GET" type arguments in the actual > URL. > > Karl Rudd > > > > On Sun, Nov 30, 2008 at 9:48 AM, Karl Rudd <[EMAIL PROTECTED]> wrote: > > You can get around it by using a JSON (or JSONP) response. For > > cross-domain JSON calls a script tag is inserted and the content is > > "read" that way. > > > Karl Rudd > > > On Sat, Nov 29, 2008 at 11:17 PM, TheBlueSky <[EMAIL PROTECTED]> wrote: > > >> Oh, sorry, my mistake! Yes, it's on another domain and I've just noted > >> that. > > >> By the way, there is no way around this, is there? > > >> On Nov 27, 3:40 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > >>> Is the page/resource in another domain? That would obviously not work. > >>> That's the only thing I can think of. > > >>> Karl Rudd > > >>> On Thu, Nov 27, 2008 at 9:20 PM, TheBlueSky <[EMAIL PROTECTED]> wrote: > > >>> > Thanks for your reply. > > >>> > Sorry that my question wasn't clear enough; I already tried using the > >>> > username/password options for ajax() method, however, I'm getting > >>> > 'Permission denied to call method XMLHttpRequest.open' kind of > >>> > message. I don't know if there is something else need to be done or > >>> > not. > > >>> > By the way, the credentials I'm using are correct. > > >>> > On Nov 25, 4:24 pm, "Pierre Bellan" <[EMAIL PROTECTED]> wrote: > >>> >> Hi, > >>> >> If the authentification is form-based, then the login credentials is > >>> >> passed > >>> >> by GET or POST. > >>> >> So you just have to add it to your ajax request > > >>> >> see the data option. > > >>> >> $.ajax({ > >>> >> type: "POST", > >>> >> url: "some.php", > >>> >> data: "name=John&location=Boston", > >>> >> success: function(msg){ > >>> >> alert( "Data Saved: " + msg ); > >>> >> } > >>> >> }); > > >>> >> If the authentification is based on .htaccess, you can use > >>> >> username/password > >>> >> option > > >>> >> Pierre > > >>> >> W. C. Fields - "I cook with wine, sometimes I even add it to the > >>> >> food." > > >>> >> 2008/11/25 TheBlueSky <[EMAIL PROTECTED]> > > >>> >> > Hi everyone, > >>> >> > How can I send login credentials with jQuery Ajax request (get(), > >>> >> > post > >>> >> > () or ajax()) when the page I'm requesting is asking for them before > >>> >> > permitting the access. > >>> >> > Note here that I'm not talking here about form-based authentication. > >>> >> > Thanks in advance.- Hide quoted text - > > >>> >> - Show quoted text -- Hide quoted text - > > >>> - Show quoted text -- Hide quoted text - > > - Show quoted text -