title: A simple draggable DIV using jQuery-UI
body: <p>I would like to make the div <code>innerDropzone</code> draggable for below code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code> div.example {
     width: 560px;
     height: 750px;
     display: block;
     padding: 10px 20px;
     color: black;
     background: rgba(255, 255, 255, 0.4);
     -webkit-border-radius: 8px;
     -khtml-border-radius: 8px;
     -moz-border-radius: 8px;
     border-radius: 8px;
     margin-bottom: 10px;
     border: 1px solid rgba(0, 0, 0, 0.2);
     position: relative;
     float: left;
     margin-right: 40px;
   }
   #dropzone {
     height: 530px;
     width: 530px;
     -webkit-border-radius: 10px;
     -khtml-border-radius: 10px;
     -moz-border-radius: 10px;
     border-radius: 10px;
     border: 2px dashed #0687FF;
     display: block;
     background-image: url(/Images/RE/02.png);
   }
   #imgzone {
     height: 150px;
     width: 150px;
     overflow: auto;
     -webkit-border-radius: 10px;
     -khtml-border-radius: 10px;
     -moz-border-radius: 10px;
     border-radius: 10px;
     border: 2px groove #0687FF;
     float: left;
   }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"&gt;&lt;/script&gt;
  
  &lt;div class="example"&gt;
    &lt;div id="dropzone" style="text-align: center; float: left"&gt;
      &lt;div id="innerDropzone" style="position: absolute; top: 20px; left: 30px; width: 250px; height: 250px"&gt;
        &lt;img style="display: none;" id="img" src="nothing" /&gt;
      &lt;/div&gt;
      &lt;div id="hint" style="position: absolute; top: 22%; left: 30%;"&gt;Drop in images from your desktop&lt;/div&gt;
    &lt;/div&gt;
    &lt;div id="imgzone"&gt;
      &lt;div id="imagelist"&gt;
        &lt;img id="sampleImg" src="/Images/RE/02.png" width="100px" height="100px" style="margin: 10px;" /&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I tried to make the DIV draggable as below however it failed:</p>
  
  <pre><code>$('#innerDropzone').draggable();
  </code></pre>