Make all elements draggable if they have the same ID
<p>Using JQuery, I'm trying to make multiple elements draggable when the elements all have the same ID. Is is possible to do this using JQuery?</p>

<p>(Here, there are two divs with the id "draggable", and I'd like to make both of them draggable.)</p>

<p>The relevant code is here: <a href="http://jsfiddle.net/zcJwu/" rel="nofollow">http://jsfiddle.net/zcJwu/</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 - Default functionality&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 { width: 150px; height: 150px; padding: 0.5em; }
    &lt;/style&gt;
    &lt;script&gt;
    $(function() {
        $( "#draggable" ).draggable();
    });
    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="draggable" class="ui-widget-content"&gt;
    &lt;p&gt;Drag me around&lt;/p&gt;
&lt;/div&gt;
&lt;div id="draggable" class="ui-widget-content"&gt;
    &lt;p&gt;Drag me around&lt;/p&gt;
&lt;/div&gt;


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