<div class="codetitle"> <span><a style="CURSOR: pointer" data="97132" class="copybut" id="copybut97132" onclick="doCopy('code97132')"><u>复代码</u></a></span> 代码如下:</div> <div class="codebody" id="code97132"> <br><form id="myForm" method="post"> <br> <table align="center" style="width:400px;height:auto;margin-top: 20px"> <br> <tr> <br> <td align="right">命令:</td> <br> <td><input id="cmd" name="cmd" style="width: 200px;" class="easyui-validatebox" require="true" validType="length[5,12]"missingMessage="불허공"/></td> <br> </tr><br> <tr> <br> <td align="right">描述:</td><br> <td><input id="depict" name="depict" style="width: 200px;" class="easyui-validatebox" require="true" validType="length[5,12]"missingMessage="불허공"/></td> <br> </tr><br> <tr> <br> <td align="right">类型:</td> <br> <td><input id="type" style="width: 200px" class="easyui-validatebox"<BR> url="data/editHealthCheckCombobox_data.json" valueField="id"<BR> textField ="텍스트" /></td> <br> </tr> <br> <tr><br> <td align="right">分数:</td> <br> <td><input id="score" name="score" style="width: 200px" valueField="number"/></td> <br> </tr><br> <tr> <br> <td align="right">使用状况:</td> <br> <td><input id="isUse" style="width: 200px" class="easyui-validatebox"/></td> <br> </tr> <br> <tr> <br> <td align="center" colspan="2"><br> <input type="submit" value="提交"/><br> <input type="reset" value= "중요"/><br> </td> <br> </tr><br> </table><br> </form><br> </div> <br><div class="codetitle"> <span><a style="CURSOR: pointer" data="88846" class="copybut" id="copybut88846" onclick="doCopy('code88846')"><u>复主代码</u> </a></span> 代码如下:</div> <div class="codebody" id="code88846"> <br>//表单提交<br> $('#myForm').form({<br> url:'/ProcessServlet',<br> onSubmit:function(){<br> return $(this ).form('validate');<br> },<br> 성공:function(data){<br> Alert(data);<br> }<br> }); <br> </div>