title: How do I keep my checkbox status after an AJAX response?
body: <p>I want to change an attribute of a checkbox tag after the success of an AJAX request.
  Let' say I want to update the attribute 'name' with the AJAX result.</p>
  
  <p>The attributes gets updated, but I loose the checkbox status (checked or unchecked).
  How do I prevent this?</p>
  
  <p>Please, find here the code and the script:
  <a href="http://jsfiddle.net/CpQ2D/1/" rel="nofollow">http://jsfiddle.net/CpQ2D/1/</a></p>
  
  <p>Thank you</p>