fundsearch.jsp

来自「EJB+Struts+Webservice实现的开放式基金管理系统」· JSP 代码 · 共 61 行

JSP
61
字号
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%><%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%><script type="text/javascript">function validateForm(){  if((document.forms[0].fundNo.value==""||document.forms[0].fundNo.value=="0") && document.forms[0].fundName.value=="")  {     alert("请输入查询条件!");     return false;  }}function clearFields(){	document.getElementById("fundNo").value="";	document.getElementById("fundName").value="";}</script><html:form action="viewFund" onsubmit="return validateForm()">  <table border="0" width="60%">    <tr>      <td class="thd" colspan="2" width="50%" align="center">        <bean:message key="fundForm.search.title"/>      </td>    </tr>    <tr>      <td class="tdata" width="50%">        <bean:message key="fundForm.fundNo"/>      </td>      <td class="tdata" width="50%">        <html:text styleClass="inputstyle" styleId="fundNo" property="fundNo"/>      </td>    </tr>    <tr>      <td class="tdata" width="50%">        <bean:message key="fundForm.fundName"/>      </td>      <td class="tdata" width="50%">        <html:text styleClass="inputstyle" styleId="fundName" property="fundName"/>      </td>    </tr>    <tr>    <tr>      <td colspan="2" align="center">        <html:submit styleClass="btnaction">          <bean:message key="button.search"/>        </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>    <tr>      <td class="thd" colspan="2" width="50%" align="center">&nbsp;</td>    </tr>  </table>  <html:errors/></html:form>

⌨️ 快捷键说明

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