How can a draggable in jquery UI be created on the fly with response to an event? Since event can be multiple, how can each freshly created draggable be assigned a different ID for the forthcoming use?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You make an element draggable with
$("#your-id").draggable();Do you want to create a new element during an event like this?