html - JQgrid 'Grid can not be used in this (quirks) mode' IE 9 -


i have jsp creates jqgrid. when try open in ie9, iget error 'grid can not used in (quirks) mode'

i have tried

 <meta http-equiv="x-ua-compatible" content="ie=edge" /> 

but not work. doctype

<!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"> 

i have tried

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> 

but not work.

with information given, agree ie should not going quirks mode.

there few other things might triggering it; it's not possible information given, thing can think of white space before <!doctype> declaration.

older ie versions have bug whereby if there white space in page before doctype - new line character - causes ie see doctype invalid. in turn kicks quirks mode.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -