blockui icon indicating copy to clipboard operation
blockui copied to clipboard

jQuery 1.4.4 / IE8

Open wccrawford opened this issue 15 years ago • 3 comments

Using jQuery 1.4.4 with blockUI 2.3.6 on IE8 gives:

$.blockUI() "'attributes' is null or not an object"

jQuery 1.4.2 works fine in the same situation.

wccrawford avatar Dec 02 '10 17:12 wccrawford

so does jquery 1.5

See this issue http://bugs.jquery.com/ticket/7397

yareckon avatar Feb 16 '11 16:02 yareckon

IE9 RC shows me this error (translated)

The object does not accept the 'getElementsByTagName' property or method

Jquery 1.5

If fires on line 228 "var lyr1 = ($.browser.msie || opts.forceIframe)..."

If i use compatibility mode then it works, but not my other codes so i must use without compatibility mode

Works on FF 3.6.13

sunco007 avatar Feb 16 '11 22:02 sunco007

Well, I always love to look into the problems so I figure out and found a workarround

In my case I download the jquery-1.5.js and check the line with the error. It was 5461

"srcElements = elem.getElementsByTagName("*");"

To avoid more problems I only encapsulate the IF (need to see the code) with a Try Catch

Repeat, is a workarround and is fine for me

sunco007 avatar Feb 16 '11 23:02 sunco007