自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

转载 html事件模型为什么有 capture 过程

如果希望用户在点击其他的地方时候 关闭当前的popup div ,只有在bubble 之前的capture 过程能达到这个效果 转载于:https://my.oschina.net/wa...

2017-10-19 11:14:00 182

转载 jquery ajax send json data

jquery, 发送json data 到服务器.  如果 data 选项是 string  而不是 < key, vaue> , 对象, 那么jquery 使用 把字符串追加到 body 中传输 .  contentType只是在request-header中增加一项 , 此时没...

2017-10-19 11:12:00 218

转载 mysql 常用命令:

查看所有的数据库  show databases; 定义当前数据库: use 'databasename' show tables; grant insert,update, delete, create on 'databasebmae' to 'username' @'domain...

2017-05-16 15:21:00 125

转载 event flow model

1. event.preventDefault只是取消event的默认action, 比如submit event不会产生POST 请求 ,  2. event.stopPropagation 会停止 bubble两个phase的dispatch 3.event dispatch分为3个阶段...

2017-03-23 15:36:00 112

转载 react :: render :: return 后面必须有东西, 不能另起一行

return 可以后面没有 ";" k = function(){ console.log( "ok" ); return } function (){ console.log( "ok" ); return } k(); VM7404:1 ok undefined 在react中 这个有可能...

2017-03-15 15:05:00 343

转载 在函数返回之前 异步代码调用改变局部变量 该局部变量改动无效,因为闭包还没有生成...

new ( function Foo ( ) { var array1 = [ ]; var array2 = [ ]; //某些异步代码   {    array1.push( );   } this.getArray1() { return array1; } } ); 由于异步代码的...

2017-03-14 01:07:00 338

转载 this in no-class function

function container( ) { this.name = "wansheng"; var me = this; function inner() { console.log ( "---inner " ); console.log( this ); me.name = "xiex...

2017-01-12 01:28:00 84

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除