title: Div class not working after append
body: <p>I have this html:</p>
  
  <pre><code>&lt;div id="something" class="draggable"&gt;Hello World!&lt;/div&gt;
  </code></pre>
  
  <p>When I press a button I invoke this code:</p>
  
  <pre><code>function addDiv(fatherDiv){
          $("#"+fatherDiv).append("&lt;div id='randomId' class='draggable' style='position: absolute; top: 100px; left: 250px; width: 120px; height: 20px;'&gt;Text of Div&lt;/div&gt;");
      }
  </code></pre>
  
  <p>The problem is that the Div is created perfectly BUT the class doesn't work (draggable) when appending the Div, making it the only non draggable element.</p>
  
  <p>How can I do so that the appended Div can become a draggable element just like the other divs?</p>