I laugh at security, and the Same-site rules! With a simple perl program on my server, I can load anything via ajax!
#!/usr/bin/perl use LWP::UserAgent; use CGI; $ua = LWP::UserAgent->new; $ua->agent("NuBrowser/10.7 "); $res = $ua->request(HTTP::Request->new(GET => $ENV{QUERY_STRING})); $q = CGI->new; print $q->header($res->headers->{'Content-Type'}),$res->content; I've used it several times! On 3/26/07, Chinmay Kulkarni <[EMAIL PROTECTED]> wrote:
Hi. I want to make a remote request to a different server than the current page is hosted on, in order to get JSON data (padded with a callback). This is typically handled by inserting <script> elements on the current page with the src as the remote URL, (Right?), but I couldn't find an easy way to do this on jQuery. I looked at $.getScript; but it's more a way to use XmlHTTPConnect(), and eval the results as a script. Does anyone have any ideas as to how one may go about this? -- Yours, Chinmay Kulkarni, www.celbits.org +91 99820 18699 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
-- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/