1 <table class="easyui-datagrid" style="width:600px;height:250px" 2 ????????????url="data/datagrid_data.json" 3 ????????????title="DataGrid - Complex Toolbar" toolbar="#tb" 4 ????????????singleSelect="true" fitColumns="true"> 5 ????????<thead> 6 ????????????<tr> 7 ????????????????<th field="field1" width="60">xxx</th> 8 ???????????????........ 9 ????????????????<th field="field2" width="60">xxx</th>10 ????????????</tr>11 ????????</thead>12 ????</table
解决办法:将html放在Apache服务器的htdocs文件夹中(必须在php.ini文件中配置过才行。)
PHP-->jquery esayui获取json失败
原文地址:http://www.cnblogs.com/mrray1105/p/8064925.html