Hi dchauhan,
In the sample I pointed you in the previous post, take a look at the “dragStart” event handler. When drag operation has started, the information about the Dragged object is stored in the jqxDragDrop’s ‘data’ property.
$('.draggable-demo-product').bind('dragStart', function (event) { var tshirt = $(this).find('.draggable-demo-product-header').text(), price = $(this).find('.draggable-demo-product-price').text().replace('Price: $', ''); $('#cart').css('border', '2px solid #aaa'); price = parseInt(price, 10); $(this).jqxDragDrop('data', { price: price, name: tshirt }); });
Best Regards,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com/