語法展示::   http://home.graffiti.net/lghvjkmghcj/


請用IE6.0或更新版本觀看語法特效展示

將以下程式碼複製,貼在<body>及</body>標籤之間。

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


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

arrow
arrow
    全站熱搜

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