views:

259

answers:

1

Hi Guys,

I am building a widget for my users and trying to get it working however I keep running into a X-Domain issue with this header. httpfox gives me - NS_ERROR_DOM_BAD_URI - and on further investigation I find that its

Access-Control-Request-Method:  GET
Access-Control-Request-Header:  x-requested-with

I am not sure why its not loading but I basically call a script and then I am trying to grab some html to load it but it gets blocked with the above headers.

How can I get around this prob ?

A: 

OK - think I found the answer. See generally

http://saltybeagle.com/2009/09/cross-origin-resource-sharing-demo/

seems to provide a way around it

Tom