webkit - Jquery Droppable Draggable Not Working in Chrome/Safari and IE 9 -
the following jquery drag/drop not work in:
internet explorer: 9 safari: 5+ chrome: 19+
in chrome , safari, drop not working. when drop draggable, reverts should, reappears on cursor. must click droppable hit register.
in ie 9, drag not working. not move.
what need have inventory on right. inventory slider (which have removed sake of simplicity). when drag item inventory, reverts , place image source on drop's image placeholder.
$(document).ready(function() { $('.circles').draggable({//the drag not fire in ie9 revert: "invalid", helper: "clone" }); $('.circletargetcontainer').droppable({ accept: '.circles', activeclass: 'ui-state-active', drop: function( event, ui ) { alert("hit");//the hit not register in chrome , ie var popimage = $(ui.draggable).find('img').attr("src"); //set placeholder popimage var childimage = $(this).find('img'); $(childimage).attr('src', popimage); } }); });
when playing around ie9, check compatibility issues, , try out on different ones.

and find out in ie9 compatibility view, works normally, need force ie load view instead default one.
in regarding chrome 19, have no problem, unless it's not suppose do
- i click in 1 element in right side
- i drag drop zone
- i stop clicking
- chosen element sticks in drop zone
screen cast can find here showing this.
Comments
Post a Comment