如果页面中于五个li标签。写个js使点击每个li返回他的index
- 1
- 2
- 3
- 4
String、Number、Boolean、undefined、Null
window和docuemnt经常使用的属性和方法
window 经常使用的属性和方法:history document pageXOffset pageYOffset parent self location status top navigator alert() blur() close() confirm() focus() open() print() setInterval() setTimeout() document经常使用的属性和方法:body title URL close() getElementById() getElementsByName() getElementsByTagName() write()求随机数中连续之最大和 1、随机生成20个数据,是-1000到1000之间的随意不反复的数据 2、写一个算法,就这一数组的联系的数仅仅和为最大的一组连续数(即数组下班连续的。求出结果的长度可能是随意多个数)。并显示出来
public class Helper { /** * 任意一个数组 * @param length 数组长度 * */ public static int[] randInt(int length){ int[]ints = new int[length] ; for(int x=0;xints.length){ return ints ; } Map tempMap = new HashMap (); for(int x=0;x
现有表名为tb_regorg 的数据表。器数据内容例如以下所看到的,请依据数据规律写出一条SQL语句,查询出现广东及其下属的全部信息
SQL例如以下:
select distinct t1.code , t1.name from tb_regorg t1 , tb_regorg t2 where t1.code like CONCAT(t2.code , '%') and t2.name like '广东省%'