Reply to Re: Newbie: Ajax permission'g question

Your name:

Reply:


Posted by Neredbojias on 04/17/06 19:39

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

> Neredbojias,
> Thanks for your comments ...
> 1) Why first script element is not properly closed? As I am using same
> element to close it, not sure if there is some mistake, please point
> out

Should be:

<script type="text/javascript" src="something.js"></script>

then:

<script type="text/javascript">
//code here
</script>

> 2) yes I know .js can be loaded from any domain, and this is pretty
> good thingy, but now that loaded js from a different domain want to
> make a xmlhttprequest connection to the domain it is loaded from, which
> is different from the domain where html page is being loaded, and here
> i get permission'g issue, any idea how to avoid it ?

I see. I don't know much about Ajax so didn't realize the situation.
Liked Hywel's answer though am not sure it can be done (normally).

--
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

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