Advertisement
twinfacer

jQuery toggleAttr

Jan 22nd, 2013
492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.06 KB | None | 0 0
  1. $('.save').attr('disabled', (idx, old_attr) =>
  2.       !old_attr))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement