家伙!我试图将flexigrid插件添加到我的html中,但我有问题
未捕获TypeError:对象#没有显示'flexigrid'方法 在Chrome控制台
我的代码是
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="/houtai_xiangmu/js/jquery-1.8.2.js" type="text/javascript"></script>
<script src="/houtai_xiangmu/js/flexigrid.js" type="text/javascript"></script>
<script src="/houtai_xiangmu/js/flexigrid.pack.js" type="text/javascript"></script>
<script src="/houtai_xiangmu/js/jquery-1.2.3.pack.js" type="text/javascript"></script>
<script type="text/JavaScript">
$(document).ready(function(){
alert("123");
$("#flex1").flexigrid
(
{
url: 'post2.php',
dataType: 'json',
我尝试在flexigrid.js文件中添加警报,它有效!