I have the following code in a div to move the div when clicking on he move button:
Steps for your solution are:
.js). Lets
suppose the file is moveDiv.js<script> & </script> tags.Give reference to this file in your HTML file as
<script src="moveDiv.js" type="text/javascript"></script>
This should start moving your button again.