let say i have 10 div's with same id now 9 of those are hidden on page on and only one is visible , what i want is once a person will click the next button it should hide the 1st one and shows the next just after it and so on, problem is that they all have same id's so how to can i achieve that

Need some help
Thanks