Drag And Drop Code For Mobile Game
I have a drag and drop feature for my mobile game. Here it is: https://jsfiddle.net/elchininet/otw3pw13/4/ Unfortunately, I have no idea what's going wrong inside my actual source
Solution 1:
By your comments I see that you are testing your project locally. Use a local server to test your project. Do not open the HTML directly in your browser from the filesystem. Try with Xampp or Wampp.
By the other hand, put the jQuery
code inside a document
ready event.
$(document).on("ready", function(){
//--- Put the jQuery code here
}
Here you have your code (with the document
ready event) running from an web server:
Post a Comment for "Drag And Drop Code For Mobile Game"