jquery - how to allow CORS /Access-Control-Allow-Origin -
sorry stupid question, how allow "access-control-allow-origin?"
i want page (the page getting content from) allow page b(where need content pulled into) access. it's weird both on same server 1 wordpress page , 1 static.. not sure code supposed go create happen.
i'd suggest modifying url alternative relative path avoid issue.
$.ajax(function(){ url: /*"http://www.mydomain.com*/"/foo.html", .... });
jquery
No comments:
Post a Comment