Sumit patel Sumit patel - 2 months ago 9x
HTML Question

Drop control in sub panel and Add new Div using jquery

Note: I have tried other question asked in stackoverflow related to
Drag and drop but i'm unable to do so.

First drag and drop a
. Then try to drop textbox in
'Div Sub Panel'

I want to

  1. drop Textbox in
    'Div Sub Panel'

  2. I click To
    'Add New Div '
    Then Function Not Work

Here is my DEMO Code


Only Update Draggable in connectTosortable in add one more add Class claspaneldiv

Add claspaneldiv to connectTosortable

            connectToSortable: '#MainDroppableDiv,.claspaneldiv',

here is demo: