how to use jQuery ajax calls with node.js

前端 未结 4 1403
深忆病人
深忆病人 2020-11-30 17:33

This is similar to Stream data with Node.js, but I don\'t feel that question was answered sufficiently.

I\'m trying to use a jQuery ajax call (get, load, getJSON) to

4条回答
  •  一整个雨季
    2020-11-30 18:33

    I suppose your html page is hosted on a different port. Same origin policy requires in most browsers that the loaded file be on the same port than the loading file.

提交回复
热议问题