JavaScript If...else if statement · <script> · var a=20; · if(a==10){ · document.write("a is equal to 10"); · } · else if(a==15){ · document.write("a is equal to 15"); ...
確定! 回上一頁