Home Javascript Fixes Script5022 Invalid Char 5

script5022 dom exception invalid_character_err 5

A script5022 invalid_character_err(5) error for IE9 (Internet Explorer 9) can be triggered when making certain Javascript dom calls. This error only occurs for the IE9 browser. It can be triggered from any of the following popular Javascript frameworks:

MooTools version 1.2.4 and less. Joomla! 1.5 uses MooTools version 1.1.x  by default and uses 1.2.4 in the mtupgrade plugin for Joomla! version 1.5.x to 1.5.22 and version 1.2.5(script5022 fixed) for Joomla! version 1.5.23 and above. The mtupgrade plugin has to be enabled or the older default version will be used. This can also introduce other problems because the MooTools upgrade from 1.1.x  to 1.2.x was not very clean and a lot of script written for 1.1.x does not work in 1.2.x

Prototype version 1.6.0.3 and less. Script Aculo Us(scriptaculous) effect libraries uses the prototype libraries and may also experience this problem.

Many jquery plugins

If you have a script that makes certain dom-function calls or use one of the framework libraries above in your website you may experience this error on IE9. We have created a small piece of script that emulates the dom calls and fixes the problem without having to upgrade or change any of your scripts.

After experiencing this problem ourselves we looked on the Internet for a solution. Common solutions provided marginal results. Tricks using meta tags was the most common and only work under certain conditions. And when it did work it put the browser in a older rendering mode and all the other great fixes in IE9 were ignored.

You can purchase our software which will fix this problem on your website. We offer a 30 day money back guarantee just in case the software does not fix your problem. For Joomla! 1.5 websites we have a system plugin and for non-Joomla! sites we have a Javascript file. This file will fix the problem while maintaining all the IE9 enhanced features(HTML5, CSS3, etc).

For Joomla! 1.5 Web SItes.
1.6 and 1.7 coming soon
For non-Joomla! websites

USD $95.00

Accept EULA

USD $95.00

Accept EULA

How does the process work:

When you click the BuyNow button it will take you to the paypal page where you can pay for the product using your paypal account or a credit/debit card. Once the payment is complete paypal will bring you back to here where your invoice will be displayed. On the invoice will be one or more download buttons so that you may download the software to your system. Paypal will also E-mail you an invoice. Both our invoice and Paypal's invoice will have an invoice ID and invoice key. At anytime in the future you will be able to use the invoice ID and invoice key to pull up your invoice and display the transaction details as well as access the download buttons. If you are not 100% satisfied with the product you may also request a refund from the invoice.

How do I install the software:

Once you have downloaded the software you can install it on your web site. If you are using the Joomla plugin method you will just need to goto the administration site and do a normal Joomla! extension installation. This will install a control component and the plugin. Make sure that the plugin is enabled and positioned as high up on the plugin list as possible.

For the non-Joomla! you will need to put the Javascript file into your web file space and insert a script tag in the head of each page in your web site. There is a detailed Readme.txt file in the download that tells you how to deploy the software.

What does the software do:

The software is a Javascript routine that is executed whenever one of your website pages are loaded in a browser. It will test for the browser type and document mode of the browser. If the browser is an IE browser that is running in document mode 9 or above it will position a function to fix the IE9 call problem. The function will clean up the call arguments and then re-call the function using the proper Javascript standards method.  The software is ignored for all other conditions and preforms no other operations.

Why does this problem exist:

Prior versions of Internet Explore and many other browsers allowed a non-standard, non-compliant call methodology for a particular dom call. A lot of Javascripts and Javascript frameworks have used this non-standard call method. Microsoft is trying to make its browser fully standards compliant and has done an excellent job of that with IE9. IE9 is the best Microsoft browser ever, at least from this developers view. Unfortunately Microsoft decided to throw the script5022 dom exception invalid_character(5) error whenever a non-standard call is made. The "script5022 dom exception invalid_character(5)" error may be invisible if your IE9 browser is set to not show errors. The effect of this is Javascript that has worked for years will not work on IE9. They recommend that you upgrade your Javascript and fix all the non-standard calls. This is good advice but it does force you fix something that has always worked in the past. Our solution provides you with a quick way to get things working again and you can do the upgrades when you see fit.