function reIndex(){ var len1 = $(‘#table‘).find(‘tr‘).length; for(i = 1; i < len1; i++){ $("#table tr").eq(i).children("td").eq(1).html(i); } }...
分类:
编程语言 时间:
2015-10-23 16:48:25
阅读次数:
175
Crashing BalloonTime Limit:2 Seconds Memory Limit:65536 KBOn every June 1st, the Children's Day, there will be a game named "crashing balloon" on TV. ...
分类:
其他好文 时间:
2015-10-22 21:07:53
阅读次数:
153
原文 Last Christmas, the circus owner, Jimmy Gates, decided to take some presents to a children‘ hospital. Dressed up as Father Christmas and accompanied by a ‘guard of honour‘ of six pretty girls,...
分类:
其他好文 时间:
2015-10-16 20:55:46
阅读次数:
511
(function () { var showMoreNChildren = function ($children, n) { //显示某jquery元素下的前n个隐藏的子元素 var $hiddenChildren = $children.filter(":hi...
分类:
Web程序 时间:
2015-10-16 20:27:51
阅读次数:
284
一、Jquery中children语法.children(selector)说明expr是表达式,可选参数,所有选择器中的表达式都可以用在这,比如按标签名"div",按类名".class",按序号":first"等等,如果表达式为空,那么返回的是所有的孩子,返回的结果仍为jQuery对象。二、Jquery中findfind()方法获得当..
分类:
Web程序 时间:
2015-10-15 18:53:37
阅读次数:
193
DIV水平居中实例:<!DOCTYPEhtml>
<html>
<head>
<metacharset="utf-8"/>
<title>DIV水平居中</title>
<style>
.parent{width:980px;height:300px;margin:0auto;text-align:center;background-color:#999;}
.children{display:inlin..
分类:
其他好文 时间:
2015-10-15 16:32:51
阅读次数:
189
一、 123在上面这段代码中,如果使用以下js代码var oDiv=document.getElementByTagName("div")[0];alert(oDiv.firstChild.nodeName)在ie9以下,alert出来的是p(p标签名字),但是在现代浏览器下,比如Chrome...
分类:
Web程序 时间:
2015-10-12 16:57:18
阅读次数:
176
There are lots of number games for children. These games are pretty easy to play but not so easy to make. We will discuss about an interesting game he...
分类:
其他好文 时间:
2015-10-08 21:37:25
阅读次数:
250
php中将SimpleXMLElement Object转化为普通数组转: http://www.php230.com/transform-simplexmlelement-object-to-array-with-php.html改成:属性和元素都作为数组的值php代码:children()) ....
分类:
编程语言 时间:
2015-10-08 20:08:59
阅读次数:
231
QuestionThere areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the followi...
分类:
其他好文 时间:
2015-10-08 06:50:36
阅读次数:
373