Please tell me how to do the following: I upload ajax images and add them to the div
$("#imagesPlaceholder").append(imgs); by clicking on the picture, the class selimg is assigned to it, and then by pressing the button they append into a div with the class selected.
This option does not work
if ($(imgs).parents(".selected")) { $(imgs).resizable(); $('.ui-wrapper').draggable({ containment: 'parent' }); } Thank you in advance