FirefoxでPHP/JSプロジェクトを実行すると、エラーが発生し、グリッドが読み込まれないことがよくあります。
Firebugで表示されるエラーは、数とタイプがそれぞれ違っています。例えば
...
...最初の起動時に...
$.jgrid.extend is not a function
restoreRow : function(rowid, afterrestorefunc) {
... F5を押した後...
エラーが...さらにF5後...
$.jgrid.extend is not a function
getChangedCells : function (mthd) {
grid.celledit.js (riga 448)
$.jgrid.extend is not a function
toggleSubGridRow : function(rowid) {
grid.subgrid.js (riga 265)
$.jgrid.extend is not a function
addChildNode : function(nodeid, parentid, data) {
grid.treegrid.js (riga 545)
$.jgrid.extend is not a function
"avg" : function(v, field, rc) {
grid.grouping.js (riga 286)
$.jgrid.extend is not a function
filterToolbar : function(p){
grid.custom.js (riga 128)
$.jgrid.extend is not a function
excelExport : function(o) {
grid.import.js (riga 179)
$.jgrid.extend is not a function
gridResize : function(opts) {
grid.jqueryui.js (riga 471)
b.jgrid.jqID is not a function
n=0,p;for(p=0;p<a.p.colModel.length;p+…a.p.id)+" tbody:first tr:first")[0];
jquery….min.js (riga 54)
b.jgrid.jqID is not a function
M),I={};G=G.slice((N-1)*M,N*M);n=w=nul…load_"+b.jgrid.jqID(a.p.id)).hide();
jquery….min.js (riga 75)
b.jgrid.jqID is not a function
M),I={};G=G.slice((N-1)*M,N*M);n=w=nul…load_"+b.jgrid.jqID(a.p.id)).hide();
jquery….min.js (riga 75)
b.jgrid.jqID is not a function
M),I={};G=G.slice((N-1)*M,N*M);n=w=nul…load_"+b.jgrid.jqID(a.p.id)).hide();
jquery….min.js (riga 75)
b.jgrid.jqID is not a function
n=0,p;for(p=0;p<a.p.colModel.length;p+…a.p.id)+" tbody:first tr:first")[0];
jquery….min.js (riga 54)
b.jgrid.jqID is not a function
n=0,p;for(p=0;p<a.p.colModel.length;p+…a.p.id)+" tbody:first tr:first")[0];
jquery….min.js (riga 54)
b.jgrid.jqID is not a function
n=0,p;for(p=0;p<a.p.colModel.length;p+…a.p.id)+" tbody:first tr:first")[0];
jquery….min.js (riga 54)
b.jgrid.jqID is not a function
M),I={};G=G.slice((N-1)*M,N*M);n=w=nul…load_"+b.jgrid.jqID(a.p.id)).hide();
を
が起こりません
...さらにF5の後...
他の15の同様のエラーが発生します。
次のように私はライブラリを含むプロジェクトのメインページで:私が間違って何を知りたいのです
<!DOCTYPE html>
<html>
<head>
<title></title>
<link type="text/css" href="js/jquery/css/cupertino/jquery-ui-1.8.13.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery/js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="js/jquery/js/jquery-ui-1.8.13.custom.min.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="js/jqGrid/src/css/ui.jqgrid.css" />
<script src="js/jqGrid/js/i18n/grid.locale-it.js" type="text/javascript"></script>
<script src="js/jqGrid/js/jquery.jqGrid.min.js" type="text/javascript"></script>
<script src="js/jqGrid/src/grid.loader.js" type="text/javascript"></script>
。おかげで、
jquery準備関数にJavaScriptコードを入れますか? ' ' –
Hallo Geoffroy、あなたが私に助言したとおりにしました...しかし、エラーは引き続き表示されます:-( – Flattit82
Ok。本当に' grid.loader.js'が必要ですか?通常はjqgridの最後のバージョンでは、 (私のプロジェクトでは持っていません) –