大神看过来:1:智能提示框没有显示了,谷歌报错辣 2:循环中的txt 是什么?求详解多谢
问2:截图中for(var i=0; i<d.length; i++){
html += "<li>"+d[i].Txt +"</li>"; 这个Txt是什么东西,没看见申明啊?
问1:报错内容:XMLHttpRequest cannot load http://api.bing.com/qsonhs.aspx?q=r. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8020' is therefore not allowed access.
input.html?__hbt=1511236514996:1