title: Drawing lines between 2 elements onclick
body: <p>is there a way (i guess its always) to draw a line between 2 elements? A div and an img tags wwith different ids. Heres is some html</p>
  
  <pre><code>&lt;div id="textHolder"&gt;
                        &lt;div class="text" id="text0"&gt;&lt;p&gt;masă&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div id="objectHolder"&gt;
                            &lt;img class="obiecte" id="obj0" src="images/Macara.svg"&gt;
  &lt;/div&gt; 
  </code></pre>
  
  <p>Ok,so i need to draw a line between the div inside of another div with id="textHolder" and an image inside a div with id="objectHolder".First clicking on the div inside of textHolder then drawing the line between them when user click on the image inside of objectHolder.</p>
  
  <p>I know i must add some code but i didnt found anything good to show.</p>
  
  <p>Here's a fiddle: <a href="http://jsfiddle.net/4DURB/" rel="nofollow">http://jsfiddle.net/4DURB/</a></p>