9 lines
288 B
JavaScript
9 lines
288 B
JavaScript
|
$(document).ready(function(){
|
||
|
$("#classe").on("change", function() {
|
||
|
var value = $(this).val().toLowerCase();
|
||
|
$("#eleves div.form-group").filter(function() {
|
||
|
var text = $(this).attr('classe').toLowerCase();
|
||
|
$(this).toggle(text.indexOf(value) > -1);
|
||
|
});
|
||
|
});
|
||
|
});
|