• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

cross domain issue in javascript.. is JSON a solution?

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Experts,
I am stuck with cross domain issue.I am using XmlHttpRequest object & I came to know that I can't call Cross Domain links using it.Then I started reading about it & came to know about 3 solutions:-

1)JSON
2)IFrames
3)Proxy

According to my requirement IFrames & Proxy are of no use for me.I can only think of JSON from the above 3.I started reading about it but didn't get any good example which can help me in solving my problem.Every body is saying to use <script> Tag but how ?? Can anyone please give me a light by giving some example on how exactly helps is solving cross domain issues.Or rather an example which shows how JSON replaces XmlHttpRequest object.Because finally I need to change my existing code which is written using XmlHttpRequest object.Please Help.I will really really APPRECIATE any HELP.Thanks a ton in advance.
 
Well THAT's new! Comfort me, reliable tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic