jqGrid ---Grid can not be used in this ('quirks...
今天在使用jquery.jqGrid.min.js時 彈出錯誤提示
Grid can not be used in this ('quirks') mode!
檢視原始碼後發現
if(document.documentMode !== undefined ) { // IE only
if(document.documentMode <= 5) {
alert("Grid can not be used in this ('quirks') mode!");
return;
}
}
其中document.documentMode值 查資料後解釋如下
除ie8以外的任何瀏覽器上返回的值是undefined.
ie8上面如果頁面沒有標準頭的話,返回值為5。
ie8上面如果頁面有標準頭的話:
將返回7或者8,確定使用的是ie7渲染模式或者是ie8渲染模式。
尋思了下 估計是檔案頭這類問題
仔細與其他檔案對比後
增加<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> 對於文件聲明後 不報此錯
相關推薦
jqGrid ---Grid can not be used in this ('quirks...
今天在使用jquery.jqGrid.min.js時 彈出錯誤提示 Grid can not be used in this ('quirks') mode! 檢視原始碼後發現 if(document.documentMode !== undefined ) {
Partitioning can not be used stand-alone in query .. mysql 建立分割槽
今天遇到一個狗血的問題,Partitioning can not be used stand-alone in query near 'PARTITION BY RANGE COLUMNS(stats_dt) (,其實是簡單的錯誤,建立mysql分割槽時,語句,寫錯了,在在之前,多了一個
內網編譯安裝net-snmp,提示relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a share
公司需要在內網環境下(不能訪問外網),通用原始檔編譯安裝net-snmp,監控內網伺服器的引數資訊,但是在編譯,即make的情況下,出現了Error,因為對linux的深度使用不是很熟悉,所以經過幾天的測試才找到解決辦法,下面是錯誤: /usr/bin/l
vscode 'type aliases' can only be used in a .ts file.
vscode 'type aliases' can only be used in a .ts file. 使用react-native cli生成react-native專案,app.js中報該錯誤 解決方法: 使用react-native
can not be used when making a shared object; recompile with -fPIC
錯誤資訊 /usr/bin/ld: crypto/libraven_crypto.a(crypto_libraven_crypto_a-blake.o): relocation R_X86_64_32 against `.rodata' can not be used when making a
Build error: relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared obje
編譯 opencv with ffmpeg 出錯: 能用 make 儘量別用 ,make -j8 開多執行緒 不然出錯都不知道哪出錯 進入 ffmpeg/: I had to recompile
學習筆記:relocation R_X86_64_32 against `.rodata' can not be used when making a shared object;
解決多個.a靜態庫,連結成一個.so動態庫出現: relocation R_X86_64_32 against `.rodata' can not be used when making a s
UserWarning: The installed version of numexpr 2.4.3 is not supported in pandas and will be not be used
color true mini nbsp 4.6 minimum img sed ack 問題:/usr/local/lib/python3.5/dist-packages/pandas/core/computation/__init__.py:18: UserWarni
【Android】AS警告解決方法:String literal in setText can not be translated. Use Android resources instead.
轉載請註明出處,原文連結:https://blog.csdn.net/u013642500/article/details/80166941 【錯誤】 String literal in setText can not be translated. Use Android reso
organic invention can be used in bendable mobile phones
The invention also opens the door to a new generation of high-performance electronic devices made with organic materials that will be biodegradable or tha
How Blockchain can be used in the application of AI
Blockchain and artificial intelligence are highly converging technologies in the today's tech world. The combined use of these two technologies is offering
How blockchains can be used in authenticating video and countering deepfakes
Take, for example, police departments (where officers wear body cams) and the numerous stakeholders that exist when a shooting occurs. These could include
ES報錯:Can not be imported as a dangling index as index with same name already exists in cluster me
解決方案: 你不應該直接刪除報警日誌中的.kibana index,因為可能會因此在kibana中丟失資料。假如你曾經刪除過 .kibana indice,那麼這個警告就是你過去那個刪除操作的殘留結果。 預設情況:kibana會 使用es的索引去儲存儲存
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP
統一 apple col convert rstp stp line methods gree <?php class Car { var $color = "add"; function Car($color="green") {
mac上 go-delve 安裝出現The specified item could not be found in the keychain 解決方法
mon pen 方法 rar spec hub 錯誤 sys lib 安裝go語言的編譯環境,在安裝到 delve時候出現如下錯誤: If reporting this issue please do so at (not Homebrew/brew or Hom
maven-web項目剛創建報錯:Description Resource Path Location Type JavaServer Faces 2.2 can not be installed : One or more cons
ati plugins tool com -a riff common margin led 解決:問題描述:maven項目出現如下錯誤JavaServer Faces 2.0 requires Dynamic Web Module 2.5 or newer..Maven
The type name 'IComponentConnector' could not be found in the namespace 'System.Windows.Markup'
xaml namespace 管理器 運行 alt component inf 資源管理器 class 場景:Visual Studio寫WPF項目時,想要生成XML文件,默認的WPF項目沒有引入System.XML這個dll。在【解決方案資源管理器——引用】右鍵添加了Sy
Value '0000-00-00' can not be represented as java.sql.Date解決辦法
解決 oca 返回 字段 color url mysq 使用 Coding java.sql.SQLException: Value ‘0000-00-00 00:00:00‘ can not be represented as java.sql.Timestamp 問題描
【理解】column must appear in the GROUP BY clause or be used in an aggregate function
pin group func 函數 ear -- database nbsp like column "ms.xxx_time" must appear in the GROUP BY clause or be used in an aggregate function -
Retrofit 異常( @Field parameters can only be used with form encoding)
問題: 使用 @Field 與 @FieldMap時,出現parameters can only be used with form encoding 解決: 在@Field註解的函式上新增**@FormUrlEncoded** @FormUrlE