This is due to same origin restriction. Read here:

http://en.wikipedia.org/wiki/Same_origin_policy

2008/9/15 Scott <[EMAIL PROTECTED]>

> I've asked this on geoserver list, now I'll try here.
>
> In geoserver you can preview your files in OpenLayers.
>
> 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.
>
> Any help?
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to