JSP页面里得计算问题 求帮助
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<jsp:directive.page import="dao.*"/>
<jsp:directive.page import="domain.*"/>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ka_xiao_record_add.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<style type="text/css">
<!--
.style1 {color: #FF0000}
.style3 {
font-family: Arial, Helvetica, sans-serif;
font-size: 36px;
color: #0000FF;
}
-->
</style>
</head>
<body>
<h1 align="center" class="style3"> 卡销售 录入</h1>
<td align="center">
<form action="ka_xiao" method="post" name="ka_xiao">
<table width="923" border="0" cellspacing="-2" cellpadding="-2" height="329">
<tr>
<td valign="top"><br></td><td width="28%" height="30" align="center">时 间:</td>
<td width="82%" class="word_grey"><input name="DAY" type="text" id="date" >
<span class="style1">日期格式:YYYY-MM-DD(请注意填写正确的日期格式)</span> </td>
</tr>
<tr>
<td valign="top"><br></td><td height="28" align="center">价 格:</td>
<td class="word_grey"><input name="MONEY" type="text" id="" >
<span class="style1">元/张</span></td>
</tr>
<tr>
<td valign="top"><br></td><td height="28" align="center">总 数</td>
<td height="28"><input name="AMOUNT" type="text" onblur='autocount()' >
</td>
</tr>
<script type="text/javascript">
function autocount(){
var AMOUN=document.getElementById('AMOUN').value;
var MONEY=document.getElementById('MONEY').value;
document.getElementById('TOTAL