html select option disabled selected
<option selected disabled>Choose Tagging</option>
html select option disabled selected
<option selected disabled>Choose Tagging</option>
Disable input if select option checked
$(document).ready(function(){
$("select.form-control").change(function(){
$(".home").prop('disabled', $(this).val() == 'home-none');
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<select class="form-control">
<option value="home-none">-</option>
<option value="home-select">Team</option>
</select>
<div class="form-group">
<input class="form-control home" name="h-p1-fn" placeholder="First name" type="text"/>
</div>
<div class="form-group">
<input class="form-control home" name="h-p1-ln" placeholder="Last name" type="text"/>
</div>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us