简体   繁体   中英

jqGrid not working in IE7, 8, 9 but it works when use F12

My jqGrid not showing in IE7, 8, 9 at all.

HOWEVER, IT WORKS ONLY WHEN I TURN ON THE F12(DEVELOPER MODE IN IE)!

Of course I cannot check console log because when I use F12 it works fine...

It may not about jQuery problem because my jQuery version is 1.7.

jqGrid version 4.4.3, and jqGrid works well in IE10, 11.

(I tried to change jqGrid version, but there are no any positive effects.)

Anybody know about this problem?

What is the difference between using or not using F12???

I solved it. This was because of console.log(); in my js code.

console.log(); only works when F12 developer tools opened.

I removed this code, so it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM