Problem with dynamic html pages in mozilla

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bnashenas1984
    Contributor
    • Sep 2007
    • 257

    Problem with dynamic html pages in mozilla

    Hi everyone
    I have a HTML page which has some dynamic parts. The problem is that this page works fine in IE but not in MOZILLA ( doesn't work att all in mozilla )

    here is an example:
    ------------------------------------------
    <table id="searchtable " >
    <tr>
    <td>
    Some text here...
    </td>
    </tr>
    </table>

    <img src="hide.gif" onclick="search table.style.dis play='none'">
    ------------------------------------------
    So if you click on the GIF file the text will get invisible. Is there any problem with MOZILLA or my page?
  • ak1dnar
    Recognized Expert Top Contributor
    • Jan 2007
    • 1584

    #2
    Try this please:
    [CODE=css]
    document.getEle mentById('searc htable').style. display='none'
    [/CODE]
    Last edited by ak1dnar; Sep 17 '07, 03:23 PM. Reason: "displ ay" is a one word

    Comment

    • bnashenas1984
      Contributor
      • Sep 2007
      • 257

      #3
      OOOOHHHH
      I dont know how to thank you...
      That was a big help
      Thanks

      Comment

      • ak1dnar
        Recognized Expert Top Contributor
        • Jan 2007
        • 1584

        #4
        Originally posted by bnashenas1984
        OOOOHHHH
        I dont know how to thank you...
        That was a big help
        Thanks
        No problem. postback any time when there is a issue. Thanks!

        Comment

        Working...