can this be done more efficient? $(document).ready(function(){ $("#auswertung > div").hide();
$("form#form1").submit(function() { $("#auswertung > div").hide(); $("form#form1 [EMAIL PROTECTED]'checkbox']").each( function() { if (!this.checked) { var output = this.value; console.log(output); $("div#"+output).show(); } }); return false; }); }); thx