I have a question about javascript. My problem is that I have 9 div containers and an selector () with numbers from 1 to 9. What I would like to have is ONE function that chooses the quantity, which is chosen in the selector, and hides the number of divs with the visibility option. The function should really should hide the number of the selector and not that the function hides two times the same random div. The divs are in one class and have the ids like id1, id2 and id3.
Hope you understand anything, because my English really sucks in this topic.
Thanks Nicolas