Kamala - Find jobs - Just Holden Commodores - Debt Consolidation - Wordpress Themes

PDA

View Full Version : Javascript Validation blocking left click


byoung
Jun 29th 2008, 6:33 pm
We have a form, that returns this error in firefox:
"Warning: Use of routeEvent() is deprecated. To upgrade your code, use
the DOM 2 dispatchEvent() method. For more help
http://developer.mozilla.org/en/docs/DOM:element.dispatchEvent
Source File: http://www.....global.php
Line: 0"

The issue is that we have an order form loading. It loads up a big form. Then to click into a different part of the form you have to right click, left click does not work.

It works fine on ie / opera. Just a firefox problem.

=Messa=
Jul 1st 2008, 10:07 pm
Well, you need to follow the error instructions.

routeEvent() is deprecated, which means it can't be used anymore.

Syntax is the same, so just try to change "routeEvent" to "dispatchEvent" and it should work.