搜索框制作2-8js實(shí)現(xiàn)ajax
發(fā)送ajax請(qǐng)求,控制臺(tái)打印輸出下面的內(nèi)容,這個(gè)zhe這個(gè)是跨域了是嗎,如何解決呢
127.0.0.1/:1 XMLHttpRequest cannot load http://api.bing.com/qsonhs.aspx?q=sh. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1' is therefore not allowed access.
2017-04-11
看你這個(gè)情況肯定沒有用到Fiddler這個(gè)工具來實(shí)現(xiàn)跨域的吧