How do I use JavaScript variables as a parameter in a jQuery selector?
var x = $(this).attr("name"); $("#" + x).hide();