this is what i have now $('#numOfHours').hide();
$('#type').change(function() { if($('#type :selected').text() == "parttime") { $('#numOfHours').show(); } else { $('#numOfHours').hide(); } On Feb 17, 2:08 pm, 123gotoandplay <wesweatyous...@gmail.com> wrote: > How do i show a input field only when a certain option is selected? > and hide if it isn't selected > > regards