今天练习jqueryAPI发现一个问题就是子元素如果采用nth-child,元素不同就获取不到,因此一个父元素下的子元素标签必须相同,如果不同第一个元素可以用这个方法实现,但是如果第二元素及以后如果出现不同的元素就会获取不到了。如下: ...
分类:
Web程序 时间:
2016-06-21 17:25:42
阅读次数:
137
DOM hierarchy pseudo-classes allow you to style specific elements based on where they fall in the hierarchy and what type of elements they are. You ca ...
分类:
Web程序 时间:
2016-06-17 06:14:07
阅读次数:
212
Ugly number is a number that only have factors 2, 3 and 5. Design an algorithm to find the nth ugly number. The first 10 ugly numbers are 1, 2, 3, 4, ...
分类:
其他好文 时间:
2016-06-16 21:27:02
阅读次数:
182
【案例分析】 查看Salary: 1.启动日志 2.启动安全性的框架 3.检查权限:如果有查看工资的权限,则查看工资,否则提示"权限不足" 【工厂截图】 【SalaryManager.java】 【SalaryManagerImpl.java】 【Logger.java】 【Privilege.ja ...
分类:
其他好文 时间:
2016-06-14 06:23:26
阅读次数:
190
废话不多说,直接上代码结构图
所用到的lib包
Students 实体类
package com.test.model;
public class Students {
private int id;
private String username;
private int age;
private int salary;
public int get...
分类:
数据库 时间:
2016-06-12 03:29:16
阅读次数:
376
$("#mytable tr").find("td:nth-child(1)") 1表示获取每行的第一列$("#mytable tr").find("td:nth-child(3)") 3表示获取每行的第三列 今天在项目中,刚好用到给指定的table添加一行、删除一行,就直接找google,搜出来的 ...
分类:
Web程序 时间:
2016-06-10 23:02:00
阅读次数:
245
1.创建一个类 class Employee: empCount = 0 def __init__(self,name,salary): self.name = name self.salary = salary Employee.empCount +=1 def displayEmployee(s... ...
分类:
编程语言 时间:
2016-06-09 18:29:01
阅读次数:
233
Given a linked list, remove the nth node from the end of list and return its head. For example, ...
分类:
其他好文 时间:
2016-05-29 22:54:33
阅读次数:
108
示例 aidl接口文件package com.bqt.aidlservice.aidl;parcelable Person; package com.bqt.aidlservice.aidl;parcelable Salary; package com.bqt.aidlservice.aidl;im... ...
分类:
系统相关 时间:
2016-05-29 21:27:41
阅读次数:
262
Operator precedences are shown in the following list, from highest precedence to the lowest. Operators that are shown together on a line have the same ...
分类:
数据库 时间:
2016-05-29 13:45:27
阅读次数:
590