skip to Main Content

How to clear a select when changed another (select2) – Jquery

I have this two selects, where I only have to select one at a time: <div class="col-md-12"> <div class="form-group"> <label>Geo Blacklist</label> <select name="blacklist[]" multiple="multiple" id="blacklist" class="form-control select2" data-placeholder="Seleccionar uno o varios países" tabindex="1" onchange="$('#whitelist').val([]).change();"> <option>a</option> <option>b</option> <option>c</option> </select> </div> </div>…

VIEW QUESTION

JQuery mask use to a fixed domain email

I'm trying set fixed email mask, but it's not working... <div class="wrap-input100 validate-input" data-validate = "Digite seu usuário"> <input class="email input100 <?php echo (!empty($user_erro)) ? 'is-invalid' : ''; ?>" type="text" name="usuario"> <span class="focus-input100" data-placeholder="Email"></span> </div> <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.15/jquery.mask.min.js"></script> <script>…

VIEW QUESTION
Back To Top
Search