how can i draw a line between two divs with jquery library or plain javascript?
I have different div boxes on the page with id
id1 # id2 # id3 # id4 and # id5 etc.
what i want if i click on # div1 and drag it to # div2. It will make an arrow line between # div1 and # div2 pointing to 2, and somehow save this connection information. Also I can connect # div1 to another div and save it as well.
(I use jQuery UI if that matters).
Thanks for any help.
source share