我前台用easyui 引用了http://code.jquery.com/jquery-1.6.min.js 然后因为做联想查询又引用了http://code.jquery.com/jquery-1.9.1.js 但是这两个JS冲突 结果报错TypeError: $(...).datagrid is not a function
报错地方代码如下$(function(){
//双击查询整条详细信息
$('#weatherInfo').datagrid({
onDblClickRow:function(rowIndex){
$('#weatherInfo').datagrid('getSelected',rowIndex);
$('#weatherDialog').dialog('open').dialog('center').dialog('setTitle','编辑');
var row = $('#weatherInfo').datagrid('getSelected');
if(row){
$('#weatherForm').form('load',row);
url = 'ssh/updateWeatherInfo?weatherId='+row.weatherId;
}
}
});
});
求大神指点