copyright http://www.onextrapixel.com/2009/10/13/how-to-display-form-fields-based-on-selection-with-or-without-jquery-cookie/ //control.js: ------------- /*With jQuery Cookie*/ $(document).ready(function(){ $("#parent2").css("display","none"); $("select").change(function () { if ($('select option:selected').val() == "No" ) { $("#parent2").slideDown("fast"); //Slide Down Effect $.cookie('showTop', 'expanded'); } else { $("#parent2").slideUp("fast"); //Slide Up Effect $.cookie('showTop', 'collapsed'); } }); var showTop = $.cookie('showTop'); if (showTop == 'expanded') { $("#parent2").show("fast"); $('select option:selected'); } else { $("#parent2").hide("fast"); $('select option:selected'); } }); //end control.js //example Form.html