Javascript help

  sitem 23:15 12 Sep 06
Locked

I'm trying to show/hide elements on a page using JS. I've got some code to do this using the id attribute, which works fine. What I want to do though is show/hide multiple instances of the same element but cannot find any code to do this. Is it possible to do this, and if so, can anybody provide any code please? If it helps, the code only needs to work on IE5.5 and 6.

  ade.h 12:41 13 Sep 06

I'm not very familiar with this side of javascript, but if you're using IDs, could you use classes instead? Apply a class to each group of elements.

  sitem 22:40 13 Sep 06

My knowledge of javascript is also limited, but JS doesn't seem to recognise classes for this purpose. I have come across class.Name but can't get this to work. Don't know if it should?

This thread is now locked and can not be replied to.

Surface Pro (2017) vs Surface Pro 4

20 groundbreaking 3D animation technologies coming to Siggraph 2017

iPad Pro 12.9 vs Surface Pro 5