码迷,mamicode.com
首页 >  
搜索关键字:classname    ( 2033个结果
js操作节点,ID,name,calssname,tag,style
1.访问节点 document.getElementById(id); 返回对拥有指定id的第一个对象进行访问 document.getElementsByName(name); 返回带有指定名称的节点集合 注意:Elements document.getElementsByTagName(tagn... ...
分类:Web程序   时间:2017-05-15 10:05:19    阅读次数:216
[Recompose] Transform Props using Recompose --mapProps
Learn how to use the 'mapProps' higher-order component to modify an existing component’s API (its props). 'mapProps' takes incoming props and changes ...
分类:移动开发   时间:2017-05-15 09:49:40    阅读次数:201
mysql 子查询
1.标量子查询 select *from myuser where classid=( select classid from myclass where classname='2班') 2.列子查询 select *from myuser where classid in( select clas ...
分类:数据库   时间:2017-05-14 20:35:15    阅读次数:202
原生JavaScript根据类名获取元素
function $class(classname, parentid){ var targets=[],kids=[]; if(parentid){ var parent=document.getElementById(parentid); kids=parent.getElementsByTag... ...
分类:编程语言   时间:2017-05-14 18:03:32    阅读次数:199
学习笔记:javascript 表单对象(form)
Form 对象属性 标准属性 属性描述 className 设置或返回元素的 class 属性。 dir 设置或返回文本的方向。 lang 设置或返回元素的语言代码。 title 设置或返回元素的 title 属性。 标准属性 Form 对象方法 方法描述 reset() 把表单的所有输入元素重置为 ...
分类:编程语言   时间:2017-05-13 19:59:47    阅读次数:199
log4j的使用
要使用log4j需要引入以下jar包: 1.log4j-xx.jar 2.commons-logging-xx.jar 项目中使用方式: private static Logger log = Logger.getLogger("ClassName"); log4j.properties配置: ...
分类:其他好文   时间:2017-05-13 18:07:34    阅读次数:162
js操作记录
获取原色class值 child1.getAttribute("class"); 设置元素class,所有浏览器均支持child1.className = "pagenumb"; ...
分类:Web程序   时间:2017-05-13 17:59:57    阅读次数:149
tkinter模块常用参数(python3)
1、使用tkinter.Tk() 生成主窗口(root=tkinter.Tk());root.title('标题名') 修改框体的名字,也可在创建时使用className参数来命名;root.resizable(0,0) 框体大小可调性,分别表示x,y方向的可变性;root.geometry('25 ...
分类:编程语言   时间:2017-05-13 17:08:17    阅读次数:318
图片预加载之无序预加载
图片预加载之无序预加载 废话不多说,直接上图。 ...
分类:其他好文   时间:2017-05-12 14:29:46    阅读次数:231
Tomcat的运行模式
tomcat的三种运行模式 tomcat Tomcat Connector的三种不同的运行模式性能相差很大,有人测试过的结果如下: 这三种模式的不同之处如下: ●BIO: 一个线程处理一个请求。缺点:并发量高时,线程数较多,浪费资源。 Tomcat7或以下,在Linux系统中默认使用这种方式。 ●N ...
分类:其他好文   时间:2017-05-12 11:34:11    阅读次数:116
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!