我正在处理一个autocomplete文本框。我有一台xml file of all countries。一切都归功于convert that file in list of string and bind to the textbox。xml的格式为<country countryname="USA" /></countries>$(function(){ $.get(
我正试图通过AJAX调用在地图上获取一些数据。但是我得到了以下错误:SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data。问题是,我以前在应用程序中实现的两个数据集确实工作并显示在屏幕上,但是当我尝试实现第三个数据集时,我得到了这个错误,并且var dataArray仍然是空的。d.split(", ");
&