码迷,mamicode.com
首页 >  
搜索关键字:element    ( 12012个结果
JQuery 选择器跟JQuery效果函数
JQuery 选择器选择器 实例 选取* $("*") 所有元素#id $("#lastname") id="lastname"的元素.class $(".intro") 所有class="intro"的元素element $("p") 所有元素.class.class $(...
分类:Web程序   时间:2014-11-05 14:25:01    阅读次数:209
Python selenium+webdriver 自动化测试例子
#coding=utf-8 fromseleniumimportwebdriver#引入selnium模块的webdriver包# importtime#引入time函数# browser=webdriver.Firefox()#初始化打开Firefox浏览器# browser.get(")#打开百度网站# time.sleep(0.3)#休眠0.3秒# browser.find_element_by_id("kw").send_keys("seleni..
分类:编程语言   时间:2014-11-05 00:34:07    阅读次数:271
jQuery 选择器语法
jQuery选择器分为如下几类(点击“名称”会跳转到此方法的jQuery官方说明文档):1.基础选择器Basics名称说明举例#id根据元素Id选择$("divId")选择ID为divId的元素element根据元素的名称选择,$("a")选择所有元素.class根据元素的css类选择$(".bgR...
分类:Web程序   时间:2014-11-04 19:09:26    阅读次数:251
[leetcode]Find Minimum in Rotated Sorted Array
问题描述: Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum element. You may assume no duplicate exists ...
分类:其他好文   时间:2014-11-04 17:26:17    阅读次数:253
LinkedList
一)当ArrayList添加一个对象时,实际上是将该对象放置在ArrayList底层所维护的数组当中;而LinkedList中添加一个对象时,实际上LinkedList内部会生成一个Entry对象,该Entry对象的结构为:其中的Object类型的元素element就是我们向LinkedList中所...
分类:其他好文   时间:2014-11-04 16:54:36    阅读次数:178
【读书笔记】CSS权威指南
第一章 CSS和文档 CSS:cascading style sheet层叠样式表 W3C:world wide web consortiam万维网联盟 元素(element)是文档(document)的基础,分为 替换元素(replaced element):是指用来替换元素内容部分并非由文档内容...
分类:Web程序   时间:2014-11-04 16:35:06    阅读次数:176
JavaScript:DOM编程
JavaScript:DOM编程 1.节点及其类型  1)元素节点  2)属性节点:元素的属性,通常情况下, 操作属性节点直接通过 "元素节点.属性名" 的方式来读写属性值  3)文本节点:是元素的子节点,其内容为文本  例donot forget me  element node : p  attribute node : title="name"  text node...
分类:编程语言   时间:2014-11-04 15:02:27    阅读次数:156
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 maximu...
分类:其他好文   时间:2014-11-04 14:28:24    阅读次数:204
Javascript遍历页面控件
function validate(){//var Elements = document.all;var Elements = document.getElementsByTagName("*");var msgs;var i;for ( i in Elements ) {if ( Element...
分类:编程语言   时间:2014-11-04 12:48:54    阅读次数:102
Remove Duplicates from Sorted Array(参考)
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:其他好文   时间:2014-11-04 12:28:18    阅读次数:177
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!