Advertisement
Guest User

Events 101 question

a guest
Feb 20th, 2012
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $this
  2.     .siblings('button')
  3.         .removeAttr('disabled')
  4.         .end()
  5.         .attr('disabled', 'disabled');
  6.  
  7. //wouldnt this code bellow work better?
  8.  
  9. $this
  10.     .attr('disabled', 'disabled')
  11.     .siblings('button')
  12.         .removeAttr('disabled');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement