ok now the href don't execute but now i can't drag the element because the <a href="" class="buy_drag"><img src="" /></a>
is the ony element in the <div class="dragdrop> element On 11 Feb., 12:36, "Richard D. Worth" <rdwo...@gmail.com> wrote: > I think you want > > cancel: '.buy_drag' > > instead of > > cancel: 'buy_drag' > > If that doesn't work, let us know. > > - Richard > > > > On Wed, Feb 11, 2009 at 6:09 AM, Trend-King <i...@trend-king.de> wrote: > > > Hi there we have a problem we have a draggable that contains a link > > > <div class="dragdrop"><a class="buy_drag" href="somelink.html"><img > > src="somesrc" /></div></div> > > > $(".dragdrop").draggable({revert: 'invalid', helper:'clone',cancel: > > 'buy_drag'}); > > > makes it draggable > > > $("#putin_cart").droppable({ > > accept: '.dragdrop', > > drop: function(ev, ui) { > > // do something > > } > > }); > > makes the droppable zone > > > firefox handels all right but if you drag the element in IE and put it > > on the droppable zone the link in the a href is executed > > > are there any solutions on this??- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---