window.setDemand = function() { $('#duplicateDemandBox').toggleClass('hidden', event.target.value != 'duplicate'); }