意外标识符jquery
问题描述:
$j(document).ready(function(){
$.ajax({
type: "POST",
url:"url",
cache: false,
success: function(response){
$('#investigationGrid').html(response);
},
error: function(){
alert('Error while request..');
}
});
});
答
您有一个错字;删除“j”。
$(document)
答
更换$j(document)
与$(document)
'$ j'看来我错了 – Alex
作为jquery'不会出现在您发布的代码,实际上你可以问一个问题的话',因为标题手段什么都没有,代码 - 除了输入时出现简单的错字外 - 看起来很有用 –