0

today I’am stuck. I am quite new in jQuery and I wonder if there is a option to check with jQuery if one option is selected then i need input make required, but only for one option.

<label for="lname">Delivery Method</label>
<select name="delivery"> 
<option value="Phone">Home</option>
<option value="Phone">Take away</option>
</select>
<label for="lname">Adress</label>
<input type="text" id="lname" name="lname"><br><br>

My request is that if the Home option is selected, then the Address will require. Sorry for my bad English, but I am trying my best!

Anonymous Asked question May 14, 2021