You can change this to `input.find('option:selected').prop('selected', false);`