Javascript 意外标识符jquery
你有打字错误;删除“j”Javascript 意外标识符jquery,javascript,identifier,Javascript,Identifier,你有打字错误;删除“j” 将$j(document)替换为$(document)$j看起来是错误的,因为jquery这个词没有出现在你发布的代码中,你真的能问一个问题吗,因为标题没有任何意义,而代码——除了在键入时可能是一个简单的打字错误之外——看起来很有趣 $j(document).ready(function(){ $.ajax({ type: "POST", url:"url", cache: false, success: func
将
$j(document)
替换为$(document)
$j
看起来是错误的,因为jquery
这个词没有出现在你发布的代码中,你真的能问一个问题吗,因为标题没有任何意义,而代码——除了在键入时可能是一个简单的打字错误之外——看起来很有趣
$j(document).ready(function(){
$.ajax({
type: "POST",
url:"url",
cache: false,
success: function(response){
$('#investigationGrid').html(response);
},
error: function(){
alert('Error while request..');
}
});
});
$(document)