笨鸟求解,jsp判断语句
笨鸟在学习 jsp 单下述代码 怎么就不显示 c 的结果呢?<script type="text/javascript">
var a="5"
var b="3"
if (a/b=parseint(a/b))
{c=parseint(a/b);}
else
{c=parseint(a/b)+1;}
document.write(c)
</script>
<script language="JavaScript" type="text/javascript"> var a=5 var b=3 if (a/b==parseInt(a/b)) {c=parseInt(a/b);} else {c=parseInt(a/b)+1;} document.write(c) </script>