- 博客(10)
- 收藏
- 关注
原创 easyui window refresh 刷新两次解决办法
这样写刷新两次$("#changeMwsAccountWin").window('refresh',"adsfasdf.php"');$("#changeMwsAccountWin").window('open'); 这样写刷新一次$("#changeMwsAccountWin").window('open');$("#changeMwsAccountWin").wi...
2015-07-13 18:43:38
474
两个div设置了float:left不并排的原因
今天写css,设置了两个div在同一层级,结构如下<div style="float: left;"></div><div style="float: left;"> .........</div><div class="clear:both;"></div&
2014-11-14 10:59:42
6229
原创 jQuery光标定位到文字最后
光标定位到文字最后[code="java"]$("#saveContent").focus().text(content);[/code]
2014-11-06 11:55:14
908
1
原创 javascript一些笔记
cc.Scene.prototype.init.call(this); prototype 相当于cc.Scene的属性或方法的集合对象,属于javascript对象自带属性.call call不属于函数名,意思是将this看成cc.Scene,调用init方法 var resource = new Array();var res = resource || []; reso...
2014-10-16 10:46:10
137
mysql 变量赋值要注意的
今天由于项目需要,需要写个存储过程,这个可是一年才难得写一次。于是没办法,重新捡起来。开始写写到后来。。[code="sql"]CREATE FUNCTION `getChildLstnotSun`(department_id int) RETURNS varchar(1000) BEGIN DECLARE sTemp VARCHAR(1000); DEC...
2013-08-16 15:44:35
207
jquery 获取高度、宽度
[code="html"]获取高度或者宽度使用$("#content").height();$("#content").innerHeight();//元素内部区域高度,忽略padding、border$("#content").outerHeight();//忽略边框$("#content").outerHeight(true);//包含边框高度$("#content.
2013-08-05 12:45:29
143
jquery 选择器,模糊匹配
按姓名匹配1,name前缀为aa的所有div的jquery对象[code="js"]$("div[name^='aa']");[/code]2,name后缀为aa的所有div的jquery对象[code="js"]$("div[name$='aa']");[/code]3,name中包含aa的所有div的jquery对象[code="js"]$("div.
2013-06-09 13:51:16
521
easyui事件和方法的调用
事件:[code="js"]$('#ff').window({ onResize:function(width, height){ alert(width+"|"+height); }});[/code]调用方法:[code="js"]$('#ff').window('refresh','www.baidu.com');[/co...
2013-06-09 10:41:11
267
原创 纯粹记录
[code="java"]鼠标移入和移开黄金搭配onmouseenter 当用户将鼠标指针移动到对象内时触发。onmouseleave 当用户将鼠标指针移出对象边界时触发。$('#xx').hover(function(){ $('#show1').show(); },function(){ $('#show1').hide(); ...
2013-05-20 13:48:46
129
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人