title: With what object should I call this jQuery method?
body: <p>I've been having some troubles with setting the containment of a draggable. I think I want to recalculate the containment after the drag has started.</p>
  
  <p>I previously asked <a href="https://stackoverflow.com/questions/10500784/jquery-ui-draggable-containment-rectangle-within-parent-how-to-do-it-programma">these</a> <a href="https://stackoverflow.com/questions/10498837/jquery-ui-draggable-containment-parentrectangle">two</a> questions.</p>
  
  <p>I think I've found the <a href="http://jsapi.info/jqueryui/1.8.18/jQuery.ui.draggable.prototype._setContainment" rel="nofollow noreferrer">answer</a>. This is the line of code that I want to execute:</p>
  
  <pre><code>o.containment = this.helper[0].parentNode;
  </code></pre>
  
  <p>The only problem is I can't figure out what is supposed to call this method, it's not the draggable item itself, I tried that.</p>