select option 清空示例
来源:互联网 发布:java读书笔记 编辑:程序博客网 时间:2024/05/18 02:30
$("#button").click(function(){
var form=$("#registerform");
form.prop("action","http://localhost:8080/ssmy/CreditController/intiqu.do");
form.submit();
});
//对查询按钮定死状态 从后台查出 使用隐藏域
$("#status").val($("#statushidden").val());
});
<div id="head">
<form id="registerform" action="" method="post" enctype="multipart/form-data">
<div class="search-box" style="width:100%;height:40px;">
<label> 登录名: </label>
<input type="text" name="loginName" id="loginName" />
<label style="margin-left:10px;">身份证:</label>
<input type="text" name="IDCard" id="IDCard" />
<label style="margin-left:10px;"> 提交状态:</label>
<select id="status" name="status" style="width:100px;height:20px;">
<option value="">全部</option>
<option value="0">已提交</option>
<option value="1">未提交</option>
</select>
<input type="button" id="button" value="查询" style="width:65px;height:22px;margin-left:20px;"/>
<input type="submit" id="exports" value="导出" style="width:65px;height:22px;margin-left:20px;"/>
</div>ss
<input type="hidden" name="statushidden" id="statushidden" value="${status }" />
<table border="0" cellpadding="0" cellspacing="0">
<tr style="width:100%; height: 50px;">
<td>
<input type="checkbox" id="SelectAll" name="SelectAll" onclick="selectAll();" style="margin-right:5px;"/>全选</td>
<td>序列</td>
<td >登录名</td>
<td >登录密码</td>
<td >确认密码</td>
<td >身份证号</td>
<td >固定电话</td>
<td >手机号码</td>
<td >邮箱</td>
<td >居住地址</td>
<td id="address">提交状态</td>
<td >创建时间</td>
<td >操作</td>
</tr>
<c:forEach var="credit" items="${creditVOList}" varStatus="status">
<tr style="width: 300px;">
<td><input type="checkbox" name="creditIdbox" id="creditIdbox" value="${credit.creditId }"></td>
<td>${status.index}</td>
<td>${credit.loginName}</td>
<td>${credit.loginPwd}</td>
<td>${credit.againPwd}</td>
<td>${credit.IDCard}</td>
<td>${credit.fixedTelephoneNumber}</td>
<td>${credit.telephoneNumber}</td>
<td>${credit.email}</td>
<td id="address">${credit.address}</td>
<td>${credit.status ==0 ? '已提交':'未提交'}</td>
<td>${creditVO.createtime}</td>
<td>
<a href="http://localhost:8080/ssmy/CreditController/deleteuser.do?creditIdbox=${credit.creditId}">删除</a>
</td>
</tr>
</c:forEach>
</table>
<c:if test="${empty creditVOList }">
没有任何员工信息.
</c:if> <br/>
<input type="button" value="删除" id ="deleteuser" >
<input type="text" name="username"/>
<input type="file" name="uploadFile"/>
<input type="submit" id="uploadFile" name="开始上传文件" value="开始上传文件"/>
</form>
<a href="http://localhost:8080/ssmy/CreditController/downloadFile.do?fileName=inputik201612061447.JPG">下载文件 </a><br />
</div>
</body>
</html>
- select option 清空示例
- 清空SELECT的OPTION
- jquery清空select option
- 清空select下的option
- 清空select中option的几种方法
- 删除和添加select下拉框选中的内容option,以及清空option选项
- jquery 清空select
- jquery清空select
- 清空select标签中option选项的4种不同方式
- js 清空select方法
- JS Select 选项清空
- 浅谈 对象中option 的清空
- js清空form表单里的值,清空input ,清空select
- Jquery 操作 select 【添加、清空】
- 下拉框select标记清空选项
- jquery操作select 增加,删除,清空
- jQuery select 清空保留第一项
- jquery操作select(增加,删除,清空)
- 云中取物--app端的日志采集系统
- [angular]指令之3transclude
- SegmentFault 技术周刊 Vol.6 - 面试那些事儿
- IAR字体设置
- Unity脚本的执行顺序
- select option 清空示例
- git 如何让单个文件回退到指定的版本
- 在Activity中使用Menu
- iOS-自定义TipsView (Swift + OC)版
- Freely Available Standards
- the SDK platform-tools version(xxx) is too old to check APIs cimpiled with API xxx.
- iOS根据字体字号大小和字体label计算label宽度
- 笔试
- Android中的Handler机制