I am trying to recreate sortable jQuery UI behavior with only jQuery:
This is the JSFIDDLE: http://jsfiddle.net/606bs750/48/
Drag and drop works fine, the problem arises when I add new element into parent div.
It appears that mousedown functions aren't getting called on a newly added element.
$('.button').mousedown(function(e) {}); //isn't getting called
Why would that be so and what fix do you recommend?