• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Neha k Agrawal
Posts: 25
  • Mark post as helpful
  • send pies
  • 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:-


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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!