$(function() { var $divs = $('#divs > div'); $divs.first().show() $('input[type=radio]').on('change',function() { $divs.hide(); $divs.eq( $('input[type=radio]').index( this ) ).show(); }); });
All Cats Rescue
Healing hearts
one paw at a time.
Donations 2
Radio1 Radio2 Radio3 Radio4 Radio5
One
Two
Three
Four
Five