Title: [Plugin: JS Banner Rotate] Javascript Errors
Last modified: August 19, 2016

---

# [Plugin: JS Banner Rotate] Javascript Errors

 *  Resolved [databell96](https://wordpress.org/support/users/databell96/)
 * (@databell96)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-js-banner-rotate-javascript-errors/)
 * I just found out that it seems the jsbrotate.js is causing browser errors at 
   least on Internet Explorer.
 * On Line 4, Character 2 you get the following error:
 * ‘document.getElementByID(…)’ is null or not a null object.
 * Fix?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Eric Mann](https://wordpress.org/support/users/ericmann/)
 * (@ericmann)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-js-banner-rotate-javascript-errors/#post-1652592)
 * Can you give me more details about when and where you’re seeing this error? Is
   it on every page? Does the banner rotator still work despite the error? Have 
   you made any changes to the plug-in code? Can you provide a link to your site
   so I can see the error in the field?
 *  Thread Starter [databell96](https://wordpress.org/support/users/databell96/)
 * (@databell96)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-js-banner-rotate-javascript-errors/#post-1652593)
 * I don’t believe I’ve made any changes to the code at all. I’m not sure it works
   on IE or not since I’m on Mac and I got this from another source. But here’s 
   an example page for you to peruse:
 * It’s the picture frame in the copy.
 *  Plugin Author [Eric Mann](https://wordpress.org/support/users/ericmann/)
 * (@ericmann)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-js-banner-rotate-javascript-errors/#post-1652594)
 * FYI If you’re reporting hearsay errors, _please link to the original source!_
   Stating that a plug-in doesn’t work in IE followed by a clear statement that 
   you can’t even _use_ IE makes it incredibly difficult for developers to track
   down the problem. It also means that you, personally, aren’t facing the issue
   in the first place.
 * So my question to you is this: is the widget working for you or not? If it’s 
   working, then please close this thread as “resolved.” If it’s not, please let
   me know what error **you** are receiving so I can fix it.
 * I just tested the site you linked to in IE. The page with the picture frame throws
   no errors in IE at all. The `document.getElementByID(...)' is null or not an 
   object` error shows up on other pages (i.e. those without the rotating banner)
   but the error itself only stops the banner script from functioning, _not the 
   rest of the site_.
 * So yes there is a bug, but the bug does not impede the operation of the site 
   in any browser. I’ll add a filter to the plug-in to only include the script on
   pages that have the `#jsbanners` element on the page to the next version.
 *  Thread Starter [databell96](https://wordpress.org/support/users/databell96/)
 * (@databell96)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-js-banner-rotate-javascript-errors/#post-1652595)
 * Well, that’s fine. Problem is it’s the client who had the issue, which of course
   means they don’t understand what these issues mean, just that they effect search
   engine or at least think that they do. Who really knows if they do? It doesn’t
   effect me at all, because I’m on a Mac. Thank you for being aware of the situation
   and resolving it in the next upgrade. I’ll be looking out for it.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: JS Banner Rotate] Javascript Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/js-banner-rotate_8389a9.svg)
 * [JS Banner Rotate](https://wordpress.org/plugins/js-banner-rotate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/js-banner-rotate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/js-banner-rotate/)
 * [Active Topics](https://wordpress.org/support/plugin/js-banner-rotate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/js-banner-rotate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/js-banner-rotate/reviews/)

## Tags

 * [getElementById](https://wordpress.org/support/topic-tag/getelementbyid/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 4 replies
 * 2 participants
 * Last reply from: [databell96](https://wordpress.org/support/users/databell96/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-js-banner-rotate-javascript-errors/#post-1652595)
 * Status: resolved