V
virtuPIC
Assume you want to provide functionality in JavaScript file 'f.js' to
be used by tag
<script src="f.js"></script>
Now 'f.js' contains XMLHttpRequest. If you use relative URL when
calling its method 'open' which domain does it access? If you use
absolute URL which domain is allowed?
I need that access is to the domain there 'f.js' rests. My browsers
(Firefox 1.5.0.7 and MSIE 6.0.2900...) consider the user's domain where
you find the script-tag the current one.
Tried to find articles covering this issue here - but couldn't find
any. However, Google Maps API seems to use this feature for geocoding.
virtuPIC
be used by tag
<script src="f.js"></script>
Now 'f.js' contains XMLHttpRequest. If you use relative URL when
calling its method 'open' which domain does it access? If you use
absolute URL which domain is allowed?
I need that access is to the domain there 'f.js' rests. My browsers
(Firefox 1.5.0.7 and MSIE 6.0.2900...) consider the user's domain where
you find the script-tag the current one.
Tried to find articles covering this issue here - but couldn't find
any. However, Google Maps API seems to use this feature for geocoding.
virtuPIC