• Wednesday , 22 May 2019

How to Solve Javascript Cross Domain

Code Canyon



Alternative Solution: quick and easy: https://youtu.be/3EWrbFfedrA

In this video I show you How to Solve Javascript Cross Domain issue. I give two solutions. One to use while in development stage and one for your server. Solves this error: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Original source

3d Ocean

Related Posts

24 Comments

  1. Omar Mohammed
    May 16, 2019 at 17:55

    Thank you mister.

  2. BottledBanana
    May 16, 2019 at 17:55

    Thanks man saved my life

  3. Trex_ son
    May 16, 2019 at 17:55

    Thank you so much 48 hours of time wastage solve, screw you chrome, i still love you though

  4. Mickey Mouse
    May 16, 2019 at 17:55

    Javascript-rendered pages?

  5. Andy Zhang
    May 16, 2019 at 17:55

    thank you, very helpful and a lot of people met the problem.

  6. Trupti Phatak
    May 16, 2019 at 17:55

    can you share codes?

  7. rawand feryad
    May 16, 2019 at 17:55

    can you upload the files please ?

  8. Azeem Tariq
    May 16, 2019 at 17:55

    Thank u very much to share this vedio……….

  9. Александррр Григорьев
    May 16, 2019 at 17:55

    Thank you a lot !

  10. ulas korpe
    May 16, 2019 at 17:55

    aaaam that aaaaam sux aaaam and aaaam totally useless!

  11. Sudhir Gupta
    May 16, 2019 at 17:55

    how php page will work in extension without any server like xampp, wamp etc.

  12. athirah ridzuan
    May 16, 2019 at 17:55

    Thank you so much. I had been stuck for hours.

  13. Saptarshi Ray
    May 16, 2019 at 17:55

    can I get the files please.. please add those to description.

  14. JimmyTutoriales
    May 16, 2019 at 17:55

    Thank you very much!

  15. Armando Silvera
    May 16, 2019 at 17:55

    Hi!! First solution I dont belive it work for production, it only solves local test. But what I realize from your video is that you can set header in server file to allow drawing html on any browser. In mi php file on server I include:
    header("Access-Control-Allow-Origin: *");
    and now I can see html response on any browser. Hope this help!!!
    Thanks!!

  16. Daniel Eptein
    May 16, 2019 at 17:55

    This video just saved me a lot of extra work, thanks mate!

  17. chaitanya prashanth avasarala venkata
    May 16, 2019 at 17:55

    Thank you for sharing this Information , I tried it and it worked for me in making HTTP calls from Angular js 4 to Java EE. Both front end and back end running on two different ports,It saved my day after seeing a lot of stuff in CORS.

  18. Ranjith Nair
    May 16, 2019 at 17:55

    Worked for me. Thanks 🙂

  19. artnos
    May 16, 2019 at 17:55

    there is no way to solve this without a proxy?

  20. Nour Aswad
    May 16, 2019 at 17:55

    Thanks so much

  21. T. L. Burney
    May 16, 2019 at 17:55

    Thanks

  22. Nur Khairusy
    May 16, 2019 at 17:55

    I think you didn't load the data_call.html, instead, you call for data.html. Doesn't work for me for the second part. Anyway, thanks

  23. Fernando R . H. Andrade
    May 16, 2019 at 17:55

    Hello, really very useful. I have another doubt. In my case I'm the developer of the webservice API and I have an app B that is trying to request a json file form mu API but when I try i receive that error message. What should I do to allow any request? because in my case the API has public content and should be as easy as possible to the users of N other apps get that data

  24. jimesca
    May 16, 2019 at 17:55

    Thanks for pointing out that you need to turn off the chrome extension!

Leave A Comment

You must be logged in to post a comment.