<div dir="ltr">This is due to same origin restriction. Read here:<br><br><a href="http://en.wikipedia.org/wiki/Same_origin_policy">http://en.wikipedia.org/wiki/Same_origin_policy</a><br><br><div class="gmail_quote">2008/9/15 Scott <span dir="ltr"><<a href="mailto:scottseeker@gmail.com">scottseeker@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">I've asked this on geoserver list, now I'll try here.<br><br>In geoserver you can preview your files in OpenLayers.<br>
<br>I want to write my own openlayers apps where you can click a feature to see it's attributes. It works fine if I test it from the geoserver page, but if I copy the source and move it anywhere, everything works except getting the feature info.<br>
<br>Any help?<br></div>
<br>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
<br></blockquote></div><br></div>