how to run same jquerycode for different blocks in on html content?

Viewed 98

I am going to make a jQuery code for two different blocks, that works on one query code using drag and drop shoppinng cart element.

Here is my js fiddle link: http://jsfiddle.net/GMC7B/2/

In this exercise you can see that there are two different blocks: post1 and post2. When I am dragging post1 at his position, the post2 position also display it automatically.

I want to run it using one common shopping cart. Please help me to sort out. There is my problem image http://screencast.com/t/oqywpdobF2vq

1 Answers
Related