 |
How to hide, show, or toggle your div with jQuery
function toggleDiv(divId) { $("#"+divId).toggle(); } function showonlyone(thechosenone) { $('.newboxes').each(function(index) { if ... Whenever the toggleAndChangeText() is fired off, it will first toggle the div with our nice jQuery toggle() function in
www.randomsnippets.com |
 |