0
Açılır menü listemi doğrulamak ve kullanıcının null seçeneğini seçip seçmediğini kontrol etmek istiyorum.jquery ve toolpister kullanarak seçim seçeneği nasıl onaylanır
$('#rappelform input[type="text"]').tooltipster({
trigger: 'custom', // default is 'hover' which is no good here
onlyOne: false, // allow multiple tips to be open at a time
position: 'right' // display the tips to the right of the element
});
$('#rappelform input[type="select"]').tooltipster({
trigger: 'custom', // default is 'hover' which is no good here
onlyOne: false, // allow multiple tips to be open at a time
position: 'right' // display the tips to the right of the element
});
Ve HTML biçimlendirme: Bu benim kodudur
<select id="message" name="message[centre]" class="textbox">
<option value="">choose value </option>
<option value="abc">select 1 </option>
<option value="abc">select 2 </option>
</select>
giriş metni için, herhangi bir sorun yok, ama seçme seçeneği ile, mesaj göstermek istiyorum Kullanıcı herhangi bir seçenek seçmezse.
Ben bu kod doğru $ olup olmadığını sormak, o jquery kullanarak doğrulamak istiyoruz ('# rappelform girişi [type = "select"]'). Tooltipste –