Li

Li

  • NA
  • 41
  • 25.5k

How to access JQuery code succefully under the different domain name?

Aug 12 2010 3:56 AM

Hi,

The file '1.htm' is deployed under the domain name ' final.life.com'. This file will access  JQuery code deployed under the domain name 'comment.life.com'.  If the file '1.htm' is deployed under the domain name 'comment.life.com' , 'http://comment.life.com/1.htm' can be run very well. However, 'http://final.life.com/1.htm' can not be run succefully, because '1.htm' located in the domain name 'final.life.com' has no right to access JQuery code or website deployed under the domain name 'comment.life.com'. How will this question be solved?

         Unzip '1.rar', and you will see the three folders. The folder 'comment.life.com' shows all the deployed files under the domain name 'comment.life.com'. The folder 'final.life.com' shows all the deployed files under the domain name 'final.life.com'. The folder 'WebApplication4' shows souce code files, which were developed by VS2008.          Thank you.


Attachment: 1.rar

Answers (2)