码迷,mamicode.com
首页 >  
搜索关键字:element    ( 12012个结果
jQuery.data() 的实现方式
jQuery.data() 的作用是为普通对象或 DOM Element 附加(及获取)数据。 下面将分三个部分分析其实现方式: 1. 用name和value为对象附加数据;即传入三个参数,第一个参数为需要附加数据的对象,第二个参数为数据的名称,第三个参数为数据的值。当然,只是获取值的话,也可以不传...
分类:Web程序   时间:2014-09-21 19:57:21    阅读次数:309
leetcode - Remove Duplicates from Sorted Array I && II
Remove Duplicates from Sorted Array IGiven a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new len...
分类:其他好文   时间:2014-09-21 14:50:00    阅读次数:209
Leetcode_num5_Best Time to Buy and Sell Stock II
题目: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete as many transactions as you like (i...
分类:其他好文   时间:2014-09-21 03:10:29    阅读次数:265
script的defer和async
我们常用的script标签,有两个和性能、js文件下载执行相关的属性:defer和asyncdefer的含义【摘自https://developer.mozilla.org/En/HTML/Element/Script】This Boolean attribute is set to indicat...
分类:其他好文   时间:2014-09-20 20:58:29    阅读次数:386
selenium+python find_element_by_css_selector方法使用
引用:http://www.cnblogs.com/paisen/p/3310395.html
分类:编程语言   时间:2014-09-20 18:39:19    阅读次数:1907
Set Matrix Zeroes
[leetcode]Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place....
分类:其他好文   时间:2014-09-19 10:10:15    阅读次数:200
Web自动化测试工具——Selenium
在最近的Web课程设计上我接触到了Selenium这款Web自动化测试工具,它可以通过一系列find_element()方法定位到目标元素,对其发送模拟按键操作,使操作自动化。...
分类:Web程序   时间:2014-09-19 01:14:24    阅读次数:237
Single Number
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime compl....
分类:其他好文   时间:2014-09-18 23:33:14    阅读次数:292
Jump Game <leetcode>
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-09-18 22:12:44    阅读次数:157
javascript删除元素节点
1.删除元素父节点function removeElement(_element){ var _parentElement = _element.parentNode; if(_parentElement){ _parentElement...
分类:编程语言   时间:2014-09-18 18:39:04    阅读次数:137
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!