<html> <head> <title> 狡猾的按鈕 </title> <script> function slip() { var x=Math.round(Math.random()*400); var y=Math.round(Math.random()*400); document.getElementById("move").style.left=x; document.getElementById("move").style.top=y; } </script> </head> <body> <form name="myform"> 你不喜歡我? <p><div id=move style="position:absolute;"><input type=button value="是" onmouSEOver="slip()"></div> <div style="position:relative;left:20pt;"><input type=button value="否"></div> </form> </body> </Html>