yes, I am aware of that, but for some reason, the the hidden input did not get dropped to my shopping cart, only the visible element is dropped. (Even a text box can not be dropped to my shopping cart)
I am saying if it is the droppable code that I have to work on, because as it mentions, it is only the "text" that is droppable.
I can drag the hidden input, but can't drop it to my shopping cart
$("<li></li>").text(ui.draggable.text()).appendTo(this);<------is this line of code the problem?