title: How can I refresh a stored and snapshotted jquery selector variable
body: <p>I ran yesterday in a problem with a jquery-selector I assigned to a variable and it's driving me mad.</p>
  
  <p>Here is a jsfiddle with testcase:</p>
  
  <ul>
  <li>assign the .elem to my obj var</li>
  <li>log both lengths to the console. Result => 4</li>
  <li>Remove #3 from the DOM</li>
  <li>log obj to the console => the removed #3 is still there and the length is still 4.
  I figured out that jquery query is snapshotted? to the variable and can't?won't? be updated</li>
  <li>log .elem to the console.. yep Result => 3 and the #3 is gone</li>
  <li>Now I update .elem with a new width of 300</li>
  <li>logging obj &amp; obj.width gives me 300.. So the snapshot has been updated ? What's interesting is that 3 of the 4 divs have the new width, but the removed #3 doesn't...</li>
  </ul>
  
  <p>Another test: Adding a li element to the domtree and logging obj and .elem. 
  .elem does have the new li and obj doesn't, because it's still the old snapshot </p>
  
  <p><a href="http://jsfiddle.net/CBDUK/1/">http://jsfiddle.net/CBDUK/1/</a></p>
  
  <p>Is there no way to update this obj with the new content? 
  I don't want to make a new obj, because in my application there is a lot information saved in that object, I don't want to destroy...</p>