語法說明:

1.在 <input type="button" name="B2" value="站長是帥哥" onClick="alert('謝謝啦!^_^');"> 中修改第一個按鈕文字及互動對話
2. 在 <input type="button" name="B1" value="站長是白痴" onClick="if(confirm('你再考慮一次!')) alert('你不想混啦?'); else alert('這才像話......');"> 中修改第二個按鈕文字及互動對話



<!--互動視窗_開始-->
<center>
<form method="POST">
<input type="button" name="B2" value="站長是帥哥" onClick="alert('謝謝啦!^_^');">
<input type="button" name="B1" value="站長是白痴" onClick="if(confirm('你再考慮一次!')) alert('你不想混啦?'); else alert('這才像話......');">
</form>
</center>
<!--互動視窗_結束-->

arrow
arrow
    全站熱搜

    nicole 發表在 痞客邦 留言(0) 人氣()