1 Reply Latest reply on Sep 8, 2008 8:21 AM by ilya_shaikovsky

    ToolTip exception?

    prasad_k

      Hi Everybody,

      when i mouseover on the TextArea it shows the tooltip value but it gives java
      script exception in mozila firefox error console.

      any one help me why this is giving exception but same thing i am using InputText but it works fine.

      HtmlInputTextarea textArea = new HtmlInputTextarea();
      textArea .setValue("Show my address");
      HtmlToolTip toolTip = new HtmlToolTip ();
      toolTip.setFollowMouse(true);
      toolTip.setDirection("top-right");
      toolTip.setShowDelay(500);
      toolTip.setValue("Show my tooltip");
      textArea.getChildren().add(toolTip);
      


      the exception in mozila firefox error console is

      Error: [Exception... "'Permission denied to get property HTMLDivElement.parentNode' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no]

      this exception gives on TextArea mouseover but same thing is working fine on InputText mouseover.
      please help me how to remove this error.......
      thank you.