意外的标识符jquery

时间:2017-01-16 08:55:49

标签: javascript identifier

$j(document).ready(function(){
    $.ajax({
      type: "POST",
      url:"url",
      cache: false,
      success: function(response){
         $('#investigationGrid').html(response);
      },
      error: function(){
        alert('Error while request..');
      }
    });
});

2 个答案:

答案 0 :(得分:0)

你有一个错字;删除“j。”

$(document)

答案 1 :(得分:0)

$j(document)替换为$(document)