title: Access the `draggable` attribute with javascript
body: <p>So the question is : How can you do that ? I want to change the <code>draggable</code> attribute to <code>"false"</code> so the element that was previously draggable will lose this property.</p>
  
  <p>I will give you a div so you will have something to start with :</p>
  
  <pre><code>     &lt;div id="div1"  draggable="true" ondragstart="drag(event) "onDblClick="edit('div1')"&gt;
       &lt;/div&gt;
  </code></pre>