var myTray =  $(".tray").sortable({
           connectWith: ".connectedSortable ",
           helper: "clone",
           activeClass: "ui-state-default",
           hoverClass: "ui-state-hover",
           stop: function(e, ui)  {
			   ui.item.html('abc');     //<--
  var setTileDraggable = function(tileSelector) {
               connectToSortable: myTray,
               containment: gameContainer,
               helper: "clone",  
               revert: "invalid"


Screen Shot 2015-08-23 at 3.42.28 PM

By admin-powenko

Dr. Powen Ko is a teacher and CEO on LoopTek LLC, and like to teaching. if you need to class, please let PowenKo know, he will love to service and sharing. LoopTek web site is

Leave a Reply