0
every time I drag and "drop" the bar from input
of the kind text
within the buttons, the same input bar must be generated below the header menu .
Problem:
Every time I drop the input inside the buttons, this same input disappears and does not generate a new one. how to implement this part?
<h2> Menu </h2>
<div id="menu" class="connectedSortable"></div>
<h2> Botoes </h2>
<div id="tbody-content" class="connectedSortable"></div>
sortable
$("#menu").append(appendMenu());
$('#tbody-content').sortable({ items: 'ul' });
$( "#menu" ).sortable({
connectWith: ".connectedSortable"
}).disableSelection();
In the jsFiddle
I couldn’t understand what you’re trying to do. What do you mean by dropping the input bar inside a button?
– Dherik