摘要: When using .vue file for my custom components it throws an vue warning.[Vue warn]: Failed to mount component: template or render function not defined. 阅读全文
posted @ 2016-11-22 15:12 alexandra 阅读(327) 评论(0) 推荐(0) 编辑
摘要: http://videojs.com/ https://segmentfault.com/a/1190000000380064 http://www.inwebson.com/html5/custom-html5-video-controls-with-jquery/ http://www.allo 阅读全文
posted @ 2016-10-28 11:26 alexandra 阅读(99) 评论(0) 推荐(0) 编辑
摘要: http://div.io/topic/1092 http://www.jianshu.com/p/3a5063028706 https://github.com/riskers/blog/issues/17 https://github.com/riskers/blog/issues/18 htt 阅读全文
posted @ 2016-10-24 13:44 alexandra 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 当你为你的模块安装一个依赖模块时,正常情况下你得先安装他们(在模块根目录下npm install module-name),然后连同版本号手动将他们添加到模块配置文件package.json中的依赖里(dependencies)。 -save和save-dev可以省掉你手动修改package.jso 阅读全文
posted @ 2016-08-30 13:50 alexandra 阅读(804) 评论(0) 推荐(0) 编辑
摘要: 一 资源文档 二 基本使用 三 可能遇到的问题 一 资源文档 Git仓库地址:https://github.com/moxiecode/plupload 一个中文速查:http://www.cnblogs.com/2050/p/3913184.html 可能有用的demo: http://chapi 阅读全文
posted @ 2016-08-17 15:05 alexandra 阅读(750) 评论(0) 推荐(0) 编辑
摘要: 1.HTTP是如何提交表单的 <form>标签的属性enctype设置以何种编码方式提交表单数据。可选的值有三个: application/x-www-form-urlencoded: 这是默认的编码方式。它只处理表单域里的value属性值,采用这种变法方式的表单会将表单域的值处理成URL方式。 m 阅读全文
posted @ 2016-06-05 08:21 alexandra 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 1在button的submit事件时判断 2 在form的onsubmit判断 注意:onsubmit=“return false”为不执行提交;onsubmit=“return true”或onsubmit=“return ”都执行提交。 3 去掉submit类型button,直接用普通butto 阅读全文
posted @ 2016-06-05 08:12 alexandra 阅读(3756) 评论(0) 推荐(0) 编辑
摘要: Difference between jQuery.extend and jQuery.fn.extend? 一遇到extend或写插件的时候我总是翻几个这样的文章看,终于在stackoverflow上找到了一个很棒的答案。 Actually, there is none apart from th 阅读全文
posted @ 2016-04-26 09:39 alexandra 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1.字符串转数值:Number(),parseInt(), parseFloat();2.数值转字符串:String(100), (100).toString();3.常用方法:+'3'转成数值型,3+''转成字符串型;4.转换为布尔型:类型转换后为false的值有 数值0,数值NaN,null值,... 阅读全文
posted @ 2015-10-10 11:03 alexandra 阅读(125) 评论(0) 推荐(0) 编辑
摘要: IE6能识别*,但不能识别 !important,IE7能识别*,也能识别!important;FF不能识别*,但能识别!important;可以这样区别FF,IE7,IE6: background:green !important; background:orange; *background:b... 阅读全文
posted @ 2015-08-06 14:18 alexandra 阅读(230) 评论(0) 推荐(0) 编辑