Browsing in IE throws error "80004004" in SignIn widgets

I am using Movable Type 4.23, tested my site on a PC and found that Internet Explorer cannot view my site due to a conflict in the javascript of the login widget (I originally thought it was in the mt.js file).

I am getting this error: Error 80004004

and also in the Javascript itself:

"Element is not an object"

(or is the object not an element?)

function mtUpdateSignInWidget(u) {
    var el = document.getElementById('signin-widget-content');

      

If I point out id

where he is going sign-widget-content

, he will say that it is not an object.

All other browsers work fine (Firefox, Safari and Opera on my Mac and Firefox on PC). Any ideas?

0


source to share


1 answer


There are two possibilities for this error.

1) The element with the entered identifier is missing. Check that the identifier is exactly right, including the correct upper and lower case letter.



2) The DOES element exists, but JavaScript works before it was rendered in your document. Calls to an element should always occur AFTER they appear on the page.

0


source







All Articles