Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/428.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 意外标识符jquery_Javascript_Identifier - Fatal编程技术网

Javascript 意外标识符jquery

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”


$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)