rbrecruiter/public/js/switches.js

7 lines
165 B
JavaScript
Raw Permalink Normal View History

2020-10-03 20:36:35 +00:00
$("#jointype").on('change', function() {
if ($(this).is(':checked')) {
$(this).attr('value', '1');
} else {
$(this).attr('value', '0');
}
});