IE8 + jQuery

classic Classic list List threaded Threaded
3 messages Options
Tobin Greensweig Tobin Greensweig
Reply | Threaded
Open this post in threaded view
|

IE8 + jQuery

I'm having an issue with Clients running Internet Explorer 8. All get a javascript error. For some computers HTML forms will load others only load partially. Everything works fine in Chrome & Firefox.

Not sure if this is related to: https://tickets.openmrs.org/browse/TRUNK-3019

Here's the error from IE8:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sun, 29 Apr 2012 06:09:02 UTC


Message: 'jQuery' is undefined
Line: 64
Char: 4
Code: 0


Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0


[hidden email] from OpenMRS Implementers' mailing list
Jonathan Galingan Jonathan Galingan
Reply | Threaded
Open this post in threaded view
|

Re: IE8 + jQuery

could you check if this would work if you placed this in your headers of your forms?


<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

I saw this in one forum:


On Sun, Apr 29, 2012 at 4:15 PM, Tobin Greensweig <[hidden email]> wrote:
I'm having an issue with Clients running Internet Explorer 8. All get a javascript error. For some computers HTML forms will load others only load partially. Everything works fine in Chrome & Firefox.

Not sure if this is related to: https://tickets.openmrs.org/browse/TRUNK-3019

Here's the error from IE8:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 2.0.50727; .NET CLR <a href="tel:3.0.4506.2152" value="+13045062152" target="_blank">3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sun, 29 Apr 2012 06:09:02 UTC


Message: 'jQuery' is undefined
Line: 64
Char: 4
Code: 0


Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0


[hidden email] from OpenMRS Implementers' mailing list



--
Jonathan D. Galingan, MD
Project Manager for Computerization
Philippine General Hospital


[hidden email] from OpenMRS Implementers' mailing list
Mathias Lin Mathias Lin
Reply | Threaded
Open this post in threaded view
|

Re: IE8 + jQuery

The js error also occurs in Chrome, not only in IE. There is a (closed) ticket about this issue, at:

The relevant change that needs to be done in the headerFull.jsp and headerMinimal.jsp in the core's jsp is as shown here:



On Sun, Apr 29, 2012 at 7:04 PM, Jonathan Galingan <[hidden email]> wrote:
could you check if this would work if you placed this in your headers of your forms?

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

I saw this in one forum:


On Sun, Apr 29, 2012 at 4:15 PM, Tobin Greensweig <[hidden email]> wrote:
I'm having an issue with Clients running Internet Explorer 8. All get a javascript error. For some computers HTML forms will load others only load partially. Everything works fine in Chrome & Firefox.

Not sure if this is related to: https://tickets.openmrs.org/browse/TRUNK-3019

Here's the error from IE8:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 2.0.50727; .NET CLR <a href="tel:3.0.4506.2152" value="+13045062152" target="_blank">3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sun, 29 Apr 2012 06:09:02 UTC


Message: 'jQuery' is undefined
Line: 64
Char: 4
Code: 0


Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0


[hidden email] from OpenMRS Implementers' mailing list



--
Jonathan D. Galingan, MD
Project Manager for Computerization
Philippine General Hospital


[hidden email] from OpenMRS Implementers' mailing list



[hidden email] from OpenMRS Implementers' mailing list
Mathias LIN
Meta Healthcare Systems Ltd.
20/F Central Tower, 28 Queen's Rd Central, Hong Kong
T +852 8199 9605, M +86 159 0208 1701, Skype: mathias.lin
http://www.metahealthcare.com