Forum


22:27

25/02/2009

I am adding a custom search form using jqModal. Everything is working fine in FF, IE6, IE7, and IE8 compatibility mode. In IE8 standards mode, when I click my search button, the overlay shows but the dialog window does not. When I look at the styles, the dialog shows "display:none." If I clear this, the dialog window appears. I also see a Javascript error which points to this code:
setTimeout(function(){p("bind")},1);k.push(a)}else if(d.overlay>0)d.closeoverlay&&c.w.jqmAddClose(j);else j=e;c.o=j?j.addClass(d.overlayClass).prependTo("body"):e;if(q){b("html,body").css({height:"100%",width:"100%"});if(j){j=j.css({position:"absolute"})[0];for(var m in{Top:1,Left:1})<error here>j.style.setExpression(m.toLowerCase(),"(_=(document.documentElement.scroll"+m+" || document.body.scroll"+m+"))+'px'")}}if(d.ajax){a=d.target||c.w;g=d.ajax;a=typeof a=="string"?b(a,c.w):b(a);g=g.substr(0,1)=="@"?b(f).attr(g.substring(1)):
I added "<error here>" to show where the debugger cursor points.
I tried the later version of jqModal without jqGrid and have the same issue. This seems to be a jqModal issue but just wondering if anyone has any ideas how to address.
Thanks,
Jerry
23:14

25/02/2009

This seems to be a browser detection issue. I looked at the jqModal source code and the code in question is only supposed to run for IE6. I commented it out and IE8 works fine in both standards and compatibility modes. It does not seem to impact IE6 for my application but it would be nice to understand what the real issue is here...
Jerry
23:35

10/08/2009

Hello jlb30504!
You didn't write anything about jqModal, jqGrid, jQuery UI and jqQuery version you use. There is some problem if you try to use jQuery 1.4. I posted /blog/?page_id=393/bugs/jqgrid-jquery-1-4/ described the problem and the solution. The problem is that jqModal.js use "$()" instead of "$(document)" which works in jQuery 1.3, but not works in jQuery 1.4, so the code of jqModal.js must be fixed. In the last version of jqGrid the problem is fixed, but the last r14 official version from http://dev.iceburg.net/jquery/jqModal/. So first of all verify that in you version of jqModal.js all "$()" replaced to "$(document)" and if you have nevertheless the problem, describe exactly your environment and post a small code example, which reproduced the problem.
Best regards
Oleg
03:11

25/02/2009

Sorry, Oleg,
Yes, I should follow the protocol on reporting issues.
JqGrid 3.6.4
JQuery 1.3.2
jqModal 1.3 - part of 3.6.4
I also tried jqModal 1.4 and had the same issue. I just upgraded to jQuery 1.4.2 and the problem seems to be resolved. I will look closer at the issues that you report with jQuery 1.4.2.
Thanks for your offer of assistance but I think things are good for now.
jQuery 1.4.2 seems to have resolved the IE8 browser detection issue.
Jerry
20:15

Moderators
30/10/2007

Hello,
With the next release we will replace jQuery 1.3.2 with 1.4.2
Thanks
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
82 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66