Add drag and drop functionality frrom external div

hi
My requirement is used to add the drag and drop functionality from the external div. i.e. if i drag the event name from the external window in to the calender then it will added to the database.