How can I do to zero a value of a select based on the option of another select, for example I have these two check boxes, when the option "The view" is checked I would like to zero the value of plots in the other select, possible to do this? I wanted to do this because I'm passing the value to PHP and playing in an HTML template to generate a PDF, however the value "2x" in the second select is always marked.
<select name="f_taskop">
<option value="À vista">À vista</option>
<option value="Parcelado">Parcelado</option>
</select>
<select id="n-parcelas" name="f_parce">
<option value="2">2x</option>
<option value="3">3x</option>
<option value="4">4x</option>
</select>