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