<script type="text/JavaScript"> alert("我是警告窗口");</script>
<script type="text/JavaScript"> var res=confirm("確定?"); if (res==true) { document.write("操作成功"); } else { document.write("操作取消"); } </script>
<script type="text/JavaScript">function Grades() { var score;//分?jǐn)?shù) var result; score = prompt("Your Grade ?") if (score < 60){ result= '不及格??!'; }else if (score >=85){ result="優(yōu)秀"; }else { result="一般般"; } }</script>
聲明:本網(wǎng)頁(yè)內(nèi)容旨在傳播知識(shí),若有侵權(quán)等問(wèn)題請(qǐng)及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com