我使用ajax自动完成字段,最初它是工作的,但最近它已经坏了。
我已经检查了firebug,最初我用来获得JSON数组的数据自动完成,但现在我得到以下消息:
重新加载页面以获取以下内容的源代码:http://..。[我的AJAX脚本URL在这里]
我知道支持已经执行了一些服务器安全更改。那么我应该怎么做才能解决这个问题呢?
像这样?#result
是元素的ID,或者您也可以使用像.result
这样的类名。
$( "#result" ).load( "test.html" );