1<button id="btn" onclick="move()">
2 I move!
3</button>
4
5<script>
6 function move(){
7 document.getElementById("btn").style.position="relative";
8 document.getElementById("btn").style.top="500px";
9 document.getElementById("btn").style.left="500px";
10 }
11</script>