Results 1 to 3 of 3

Thread: document.getElementsById

  1. #1

    Thread Starter
    Hyperactive Member Dorothy's Avatar
    Join Date
    Feb 2001
    Posts
    310

    Question document.getElementsById

    what is Netscape 4.7's equivalent of:

    var obj = document.getElementsById("IDname");

    I need this to set a text to a td:
    <td id="IDname"></td>

  2. #2
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    It is document.getElementById(id). not document.getElements ById. This should work accross the board. If it doesn't then don't bother with that browser.
    Have I helped you? Please Rate my posts.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Netscape 4 doesn't support it. And most people don't support Netscape 4 any longer. Face it, it's outdated.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width