dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Access multiple servers via javascript?

  1. #1
    Join Date
    Mar 2010
    Posts
    1

    Unhappy Access multiple servers via javascript?

    Hi all,

    I'm a newbie to javascript and this question may sound stupid.

    My question is, if I download javascript from a server (say Facebook), and then I send out a request to view some photos. The sever sends me back a list of IPs of other servers which have those photos. Now can I set connection to the other servers via the javascript? Or does the javascript can only talk to the original server?

    Thanks,

  2. #2
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    I doubt you can access even a single server with javascript. Javascript is client-side language, not a server-side one.

  3. #3
    Join Date
    Jul 2008
    Location
    urbana, il
    Posts
    2,787
    it depends on how you talk.
    xml and text can only come from whatever site your're currently viewing, but jsonp can come from anywhere...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles