<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>