0

Good day!

I right now have a function the drags an element from a list to a sortable list.

But what I want to achieve is to insert my own created html elements when i drag it to the sortable list and not to insert the elements selected from the draggable list.

Appreciate you help in advance!

Thanks, steamboy

1
  • 1
    Post code, always! Your markup and jQuery and what you want to happen as a result make this immensely easier to answer. Commented Mar 19, 2010 at 14:14

1 Answer 1

2

You can take a look at "receive" callback: http://jqueryui.com/demos/sortable/#event-receive and modify ui.item :)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.