I'm making a drag and drop shopping cart using jQuery and FoxyCart, the drag and drop work but I don't know how to automatically open a link (inside the drag element) when an item is droppen in the cart.
Basically I have a list <ul>
with <li class="drag">
and inside I have <a href="..."><img src=".." alt="thumbnail"/></a>
and <a href="..." class="addtocart">Add to cart</a>
. The link for adding to cart is hided using css but I need that, when I drop an item in the shopping cart, it will open the link (because the link open a modal box and add the item in the real shopping cart provided by FoxyCart). The problem for me is that I don't know very well jquery and I don't know how filter the link from the rest and then open it.