$(this).parent().next().css('display','none');
The above only hides the sibling right next to the current one.
If there are multiple ones,will fail.
$(this).parent().next().css('display','none');
The above only hides the sibling right next to the current one.
If there are multiple ones,will fail.