I have the following code:
Type 1 Type 2
No need for any css here.
$('#sel').change(function() { var selected = $(this).val(); if(selected == 'Other'){ $('#other').show(); } else{ $('#other').hide(); } });