Add all members of one class to another class
<p>Using JQuery, is it possible to add all members of one class to another class? Here, I'm trying to add all members of the class <code>ui-widget-content</code> to the class <code>draggable</code>.</p>

<p><a href="http://jsfiddle.net/j8czR/" rel="nofollow">http://jsfiddle.net/j8czR/</a></p>

<pre><code>&lt;!doctype html&gt;

&lt;html lang="en"&gt;
&lt;head&gt;
    &lt;meta charset="utf-8" /&gt;
    &lt;title&gt;jQuery UI Draggable - Auto-scroll&lt;/title&gt;
    &lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" /&gt;
    &lt;script src="http://code.jquery.com/jquery-1.8.3.js"&gt;&lt;/script&gt;
    &lt;script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"&gt;&lt;/script&gt;
    &lt;link rel="stylesheet" href="/resources/demos/style.css" /&gt;
    &lt;style&gt;
    #draggable, #draggable2, #draggable3 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
    &lt;/style&gt;
    &lt;script&gt;
    $(function() {
       $(".draggable").draggable({ scroll: true });
    });
    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="draggable" class="ui-widget-content"&gt;
    &lt;p&gt;Scroll set to true, default settings&lt;/p&gt;
&lt;/div&gt;

&lt;div style="height: 5000px; width: 1px;"&gt;&lt;/div&gt;


&lt;/body&gt;
&lt;/html&gt;​
</code></pre>
