Function as argument to `.appendTo()`
<p>I would like use <code>.appendTo()</code> on different elements determined by a function. For example, I want to be able to do:</p>

<pre><code>$myElement.appendTo(function () {
     if(Math.random() &lt; 0.5) return $el1; else return $el2;
});
</code></pre>

<p>However, the jQuery documentation doesn't cover the case of a function given as an argument to <code>.appendTo()</code>.</p>

<p>Is there a specific reason why the jQuery team would not allow for such a feature, and is there a smart way around it (maybe by redefining the <code>.appendTo()</code> function)? Many other jQuery functions allow functions as argument...</p>
