Sumit patel Sumit patel - 1 year ago 86
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

Answer Source

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

Add claspaneldiv to connectTosortable

            connectToSortable: '#MainDroppableDiv,.claspaneldiv',

here is demo:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download