Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("tbody").on("change", "input", function (ev)
- {
- console.log(this.name, this.value, ev.target.className);
- var checked = $('.capex_opex_1:checked')
- var in_checked = $('input.capex_opex_1')
- if (checked.length > 1) {
- in_checked.not(this).prop('checked', false).checkboxradio('refresh');}
- });
- var checked = "$('." + ev.target.className + ":checked')"
- var in_checked = "$('input." + ev.target.className + "')"
- if (checked.length > 1) {
- in_checked.not(this).prop('checked', false).checkboxradio('refresh');}
Add Comment
Please, Sign In to add comment