Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.select-item').on('click', function(){
- //Снять со всех нужных чекбоксов
- $('option .select-item').prop('chacked', false);
- //текущий чекбокс
- $(this).prop('chacked', true);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement