Reputation: 12431
Check this fiddle - http://jsfiddle.net/ashwyn/f5vGQ/
Now, in DragDiv the spin event of kendo text box works properly. But when the dragging is complete (in the DropDiv) it doesn't. Where is it wrong?
Upvotes: 1
Views: 84
Reputation: 7588
It's because you're copying the HTML of the kendo processed element. You just need to append the base HTML, i.e., the input.
.append('<input type="text" class="nt" />');
and then you need to call the kendo again. Also, as Kyle Sevenoaks suggested, use a class.
I updated the fiddle: http://jsfiddle.net/f5vGQ/5/
Upvotes: 1