码迷,mamicode.com
首页 >  
搜索关键字:each    ( 14050个结果
Jquery 取得页面所有 input 属性为text的id 和input里面的值
var inputid=""; var inputArray=$("input[type='text']");//取到所有的input text 并且放到一个数组中 inputArray.each(//使用数组的循环函数 循环这个input数组 function (){ var input =$(this);//循环中的每一个input元素...
分类:Web程序   时间:2014-10-10 11:23:34    阅读次数:218
jquery-实现全选与不全选
jquery代码:省略引用jquery代码。<scripttype="text/javascript">//全选$(function(){$("#selectAll").click(function(){if(this.checked){$("#chapterlist:checkbox").each(function(){this.checked=true;});$("#selectAll").attr("value","反选");}else{$("#chapterli..
分类:Web程序   时间:2014-10-10 02:27:54    阅读次数:172
crontab
创建定时任务: 1 root@xxj-VirtualBox:~# crontab -l 2 # Edit this file to introduce tasks to be run by cron. 3 # 4 # Each task to run has to be defined throu....
分类:其他好文   时间:2014-10-10 02:26:23    阅读次数:174
Concurrency
The real problem with concurrency occurs when tasks that are executing in parallel begin to interface with each other. This can happen in such a subtl...
分类:其他好文   时间:2014-10-10 01:52:23    阅读次数:167
leetcode--Add Two Numbers
Problem:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a...
分类:其他好文   时间:2014-10-10 01:32:53    阅读次数:213
ACM学习历程—HDU 5012 Dice(ACM西安网赛)(bfs)
Problem DescriptionThere are 2 special dices on the table. On each face of the dice, a distinct number was written. Consider a1.a2,a3,a4,a5,a6 to be n...
分类:其他好文   时间:2014-10-10 00:22:52    阅读次数:482
mysql触发器
DELIMITER $ #定义$为结束符TRUNCATE gt_hotel$ #清空table oCREATE TRIGGER tr_aft_insert_hotelAFTER INSERT ON gt_hotelFOR EACH ROWBEGININSERT INTO gt_template(so...
分类:数据库   时间:2014-10-09 20:44:57    阅读次数:165
ZOJ - 3725 Painting Storages
Description There is a straight highway with N storages alongside it labeled by 1,2,3,...,N. Bob asks you to paint all storages with two colors: red and blue. Each storage will be painted with exac...
分类:其他好文   时间:2014-10-09 17:15:48    阅读次数:193
第13题 Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:其他好文   时间:2014-10-09 17:15:15    阅读次数:218
[LeetCode]Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine i...
分类:其他好文   时间:2014-10-09 16:59:57    阅读次数:203
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!