Reply to Re: Newbie: Ajax permission'g question

Your name:

Reply:


Posted by Neredbojias on 04/17/06 12:55

To further the education of mankind, hemant.singh@gmail.com vouchsafed:

> Hello all,
> I am developing a solution(JS/Ajax+ruby) which will be hosted on say
> domain x.com
>
> now my client can be comg from any domain, all they need to do is
>
> <!-- Magic script starts -->
> <div id="mymagic">
> <script src="http://x.com/javascripts/client.js" />
> <script type='text/javascript'>
> showThemReality();
> </script>
> </div>
> <!-- Magic script ends -->
>
> Now the client.js loaded from x.com is making a ajax connection to
> x.com, is this a issue? If not than how to access x.com server scripts
> from client.js? I am try'g and it is giving me permission denied
> exception.

You don't have your first script element properly closed.
(Group deja vu?)

As for the source of javascript files, one can normally call a .js file
from any domain.

--
Neredbojias
Infinity can have limits.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация