加载中...

条件选择取


调试运行

<html>
<head>
<title>条件选择取(if)</title>
</head>
<body>
<script language="javascript">
<!--
	a = 5;
	if(a>10)document.write("a = ",a,",a大于10");
	if(a<10)document.write("a = ",a,",a小于10");
//-->
</script>
</body>
</html>

还没有评论.