9 lines
No EOL
288 B
JavaScript
9 lines
No EOL
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);
|
|
});
|
|
});
|
|
}); |