Javascript Validation blocking left click

Discussion in 'JavaScript' started by byoung, Jun 29, 2008.

  1. #1
    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.
     
    byoung, Jun 29, 2008 IP
  2. =Messa=

    =Messa= Peon

    Messages:
    104
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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.
     
    =Messa=, Jul 1, 2008 IP