Want to drag and drop an element from modal popup to a div using jquery in SVG floor plan. At firsti was trying by to create rectangle by using onclick function but now requirement is to drag element and on drop of element rectangle should be created.
For example if i am dragging 3x3 element that rectangle should be created of size 3X3.
Steps that i am following
I am unable to drop the element and unable to create the rectangle, tried droppable code but not working.
Below is the image where i want to drop the element