getElementById WTF!

  • Started
  • Last post
  • 1 Response
  • susan-deaux

    I loop through 20 iteration of a loop and supply the following id's to an html page.

    entry_1
    box_1

    entry_2
    box_2

    entry_3
    you get the idea.

    So I'm trying to attach onmouseout actions from an onload function. I can get the function to work if I don't use a variable as the element name.

    I have uploaded a screengrab of the two functions, the top one works the bottom does not.

    (I'm not using them both at once, one is normally commented ;)

    What in the world is going on. this makes no sense to me.

  • susan-deaux0

    I just recreated it and it works fine, so it's got to be in the html. Thanks anyway.