Loading ...
Sorry, an error occurred while loading the content.

getElementById inside tabview doesn't work in Opera

Expand Messages
  • Mohammad Mohtasham
    Hi, I have a div element inside my tab that I want to assign a listener to, but Opera cannot find the element in my page. var dEelement =
    Message 1 of 1 , Feb 2, 2008
    • 0 Attachment
      Hi,

      I have a div element inside my tab that I want to assign a listener
      to, but Opera cannot find the element in my page.

      var dEelement = document.getElementById("hi");
      alert(dEelement);

      The above code returns Object htmldivelement while Opera returns null.

      Any idea how to fix this problem?
    Your message has been successfully submitted and would be delivered to recipients shortly.