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.

enter image description here

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

  1. i click in 1 element in right side
  2. i drag drop zone
  3. i stop clicking
  4. chosen element sticks in drop zone

screen cast can find here showing this.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -