⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 accountaddmoney.jsp

📁 EJB+Struts+Webservice实现的开放式基金管理系统
💻 JSP
字号:
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%><html:javascript formName="addMoneyForm" staticJavascript="true" dynamicJavascript="true"/><script type="text/javascript">function validatePrice(obj){  //var obj = document.getElementById("price");  var str = obj.value;  if(str!=null)  {    var index = str.indexOf('.');    if (index!=-1)    {      var decimal = str.substring(index+1,str.length);      if(decimal.length > 2)      {        alert("价格最多为2位小数");        obj.focus();        return false;      }    }  }}	function clearFields()	{		document.getElementById("accountNo").value="";		document.getElementById("amount").value="";	}</script><html:form styleId="addMoneyForm" action="addMoney" onsubmit="return validateAddMoneyForm(this)"><table border="0" width="100%">		<tr>			<td colspan="2" class="thd" align="center"><bean:message key="financialAccount.addMoney"/></td>		</tr>		<tr>			<td class="tdata" colspan="2" align="center">&nbsp;</td>		</tr>		<tr>			<td class="tdata" width="50%"><bean:message key="financialAccount.addMoney.accountNo"/><font color="red">*</font></td>			<td class="tdata" width="50%"><html:text styleClass="inputstyle" styleId="accountNo" property="accountNo"/></td>		</tr>		<tr>			<td class="tdata" width="50%"><bean:message key="financialAccount.addMoney.amount"/> <font color="red">*</font></td>			<td class="tdata" width="50%"><html:text styleClass="inputstyle" styleId="amount" property="amount" onblur="validatePrice(this)"/></td>		</tr>		<tr>			<td colspan="2" align="center">                          <html:submit styleClass="btnaction"><bean:message key="financialAccount.addMoney.submit"/>                          </html:submit>			<!-- html:reset styleClass="btnaction" >< bean :message key="button.reset"/>< /html:reset -->			<input type ="button" name="clear" value ="取消" class="btnaction" onClick="javascript:clearFields()">			</td>		</tr>	</table></html:form><html:errors/>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -