Hi all
I have a page which consists of mutiple DIV’s which each of them have an ID in the following naming convention:
box_1
box_2
box_3
box_4
box_5
and so on…
What I need help with is if a user clicks a box to remove it from the screen (e.g. they click box_2) I need box_3, box_4 and box_5 to be hidden as the process on screen is linear – i.e. the user should only be able to see the next box when they make a selection from the current box.
Is there any way I can hide these boxes if the box previous to them is removed?
I have seen something for jQuery gt() but I tried using it as below but nothing happened:
$(‘#box_’+tagid+’:gt(‘+tagid+’)’).hide();
Any thougths would be greatly appreciated.
kbc