$("input:text:not('#objective_time_period, #subjective_time_period')").val(''); Example : http://jsfiddle.net/3zVyv/1/