js书写方法 1.行内式 <input type="button" value="皮卡丘" onclick="alert('十万伏特')"> 点击皮卡丘按钮后,弹出窗口十万伏特 2.行内式 <script> alert('数码宝贝') <