SHARE
TWEET

Events 101 question

a guest Feb 20th, 2012 42 Never
  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');
RAW Paste Data
Top