<style type="text/css">#div1{width:300px;height: 300px;margin-top: 20px;margin-left: 50px;border: 1px solid ?black;}h1{margin-top: 40px;margin-left: 100px;color: #336699;}input{margin-top: 30px;margin-left: 110px;}p{text-align: center; padding-top: 150px; color: #6666CC;} </style><script type="text/javascript">?function(){var obt1=document.getElementById('but1');obt1.onclick=function(){alert('癡情的傻瓜');}?function(){var obt2=document.getElementById('but1');obt2.onclick=function(){alert('看好你喲');}</script></head><body><h1>dina's ? test</h1><input type="button" ?id="but1" value="yes"/><input type="button" ?id="but2" value="no" /><div id="div1"><p>迪娜非常喜歡前男友?</p></div></body></html>
大家?guī)兔?,這是什么 邏輯運行的?
web愛好者3794645
2017-03-04 12:36:40