-
jquery foreach
- <form id="input_iForm" action="${pageContext.request.contextPath}/transfer/input_salary.shtml">
-
- <input type="text" class="input_w150" vili="true" onkeyup="formatBankNo(this)"/>
-
- <input type="text" class="input_w150" vili="true" onkeyup="formatBankNo(this)"/>
-
- <input type="text" class="input_w150" vili="true" onkeyup="formatBankNo(this)"/>
-
- </form>
-
-
-
-
-
- $("input").each(function(index){
-
- $("input:text").each(function(index){
- alert(index);
- alert(this.value); alert($(this).attr("type"));
- alert($(this).attr("vili"));
-
-
-
- });
- $.ajax({
- url: '<%=basePath%>schedule/getMonthRecordLs.action',
- dataType: 'json',
- success: function(data) {
- var events = [];
- $(data).each(function(i,val) {
- events.push({
- id: val.sc_id,
- title: val.sc_planemp,
- start: new Date(val.sc_date),
- color: val.sc_classes=='1'?'':'#993300'
- });
- });
- callback(events);
- }
- });
-
相关阅读:
XML解析
用进度条显示从网络上下载文件进度
android—获取网络数据
android中sharedPreferences的用法
实现listview中checkbox的多选与记录
利用Bundle在activity之间传递对象
Activity使用Serializable传递对象实例
工作框架各种使用整理 -- 页面参数传递
ubuntu中安装VMWare tools
工作框架各种使用整理 -- 自己处理分页且输入条件中有过滤条件
-
原文地址:https://www.cnblogs.com/keanuyaoo/p/3265375.html
Copyright © 2020-2023
润新知