olympiamanagement/app/assets/javascripts/admin/olympiamanagement.js

11 lines
433 B
JavaScript
Raw Normal View History

2020-01-28 12:48:13 +00:00
$(document).ready(function(){
$('.fieldset_block input[type="reset"]').off('click').on('click',function(){
$('.col_input').val('');
});
$('.fieldset_block input[type="submit"]').off('click').on('click',function(){
var class_number_range = [];
class_number_range.push($('.col_input input[name="MinClass"]').val());
class_number_range.push($('.col_input input[name="MaxClass"]').val());
class_number_range.sort();
});
});