how can I draw line between two div's with jquery library or simple javascript?
I have various div's boxes on page with there id's
id1 #id2 #id3 #id4 and #id5 and so on...
what I wants 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 details. Also i can attach #div1 to other div's and it save that connection details as well.
(I am using jquery UI if that matters).
Thanks for any help.
how can I draw line between two div's with jquery library or simple javascript?
I have various div's boxes on page with there id's
id1 #id2 #id3 #id4 and #id5 and so on...
what I wants 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 details. Also i can attach #div1 to other div's and it save that connection details as well.
(I am using jquery UI if that matters).
Thanks for any help.
Share Improve this question edited Jun 20, 2020 at 9:12 CommunityBot 11 silver badge asked Oct 9, 2011 at 22:56 user969068user969068 2,9436 gold badges35 silver badges69 bronze badges1 Answer
Reset to default 6i found https://github./jsplumb/jsplumb to solve this issue..