Guest User

Untitled

a guest
Jan 17th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. $("tbody").on("change", "input", function (ev)
  2. {
  3. console.log(this.name, this.value, ev.target.className);
  4. var checked = $('.capex_opex_1:checked')
  5. var in_checked = $('input.capex_opex_1')
  6. if (checked.length > 1) {
  7. in_checked.not(this).prop('checked', false).checkboxradio('refresh');}
  8. });
  9.  
  10. var checked = "$('." + ev.target.className + ":checked')"
  11. var in_checked = "$('input." + ev.target.className + "')"
  12. if (checked.length > 1) {
  13. in_checked.not(this).prop('checked', false).checkboxradio('refresh');}
Add Comment
Please, Sign In to add comment