Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
jqModal issue with IE8
27/02/2010
22:27
Avatar
jlb30504
Member
Members
Forum Posts: 41
Member Since:
25/02/2009
sp_UserOfflineSmall Offline

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

27/02/2010
23:14
Avatar
jlb30504
Member
Members
Forum Posts: 41
Member Since:
25/02/2009
sp_UserOfflineSmall Offline

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 

27/02/2010
23:35
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

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

28/02/2010
03:11
Avatar
jlb30504
Member
Members
Forum Posts: 41
Member Since:
25/02/2009
sp_UserOfflineSmall Offline

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

28/02/2010
03:15
Avatar
jlb30504
Member
Members
Forum Posts: 41
Member Since:
25/02/2009
sp_UserOfflineSmall Offline

I understand now that jqGrid 3.6.4 includes the jqModal changes necessary to work with jQuery 1.4.2 so I am good to go.  It seems that jQuery 1.4.2 should be the standard for jqGrid 3.6.4 and not jQuery 1.3.2 due to the browser detection issues.

Jerry

01/03/2010
20:15
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information