html
Cocoanerd
Pick a schedule you can live with, and stick to it. I don’t care if you suck at writing, if nobody reads, if you have nothing interesting to say. If you can demonstrate a willingness to write, and a desire to keep continually improving your writing, you will eventually be successful.
展开
-
jQuery 面试问题和答案
1. jQuery 库中的 $() 是什么?$() 函数是 jQuery() 函数的别称,乍一看这很怪异,还使 jQuery 代码晦涩难懂。一旦你适应了,你会爱上它的简洁。$() 函数用于将任何对象包裹成 jQuery 对象,接着你就被允许调用定义在 jQuery 对象上的多个不同方法。你甚至可以将一个选择器字符串传入 $() 函数,它会返回一个包含所有匹配的 DOM 元素数组的 jQ转载 2016-11-26 09:40:43 · 1096 阅读 · 0 评论 -
js实现汉字转拼音
汉字转拼音转载 2017-07-27 11:32:52 · 26417 阅读 · 0 评论 -
easyui-panel Demo
//easyui-panel描绘统计图原创 2017-07-17 18:09:09 · 476 阅读 · 0 评论 -
eayui-tree的id及text的基本使用,通过id设置某个节点选中
easyui-tree通过id选中某个子节点原创 2017-07-17 14:28:04 · 778 阅读 · 0 评论 -
自定义validatebox的验证方法
(document).ready(function(){(document).ready(function(){ .extend(.fn.validatebox.defaults.rules, { carnames: { validator: function(value){ var flag;原创 2017-07-03 10:38:08 · 365 阅读 · 0 评论 -
验证上传图片格式
// 上传照片的限制 var src_file = (“#uplicensefile”).val(); var AllImgExt=”.jpg|.jpeg|.gif|.bmp|.png|”; if(src_file!=”“) //2017-1-6 { var extName = src_file.substring(src_file.lastInde原创 2017-07-03 10:27:47 · 541 阅读 · 0 评论 -
js比较日期大小
function compareDate(strDate1,strDate2) { var date1 = new Date(strDate1.replace(/-/g, “\/”)); var date2 = new Date(strDate2.replace(/-/g, “\/”)); return date1-date2;原创 2017-07-03 10:26:10 · 305 阅读 · 0 评论 -
js函数关于reture
这里面的return含有一些知识转载 2017-03-08 17:21:45 · 869 阅读 · 0 评论 -
改变span中的字体方法
document.getElementById('xxx').innerHTML="";原创 2016-11-27 11:27:14 · 11118 阅读 · 0 评论 -
td中的字体颜色
html中,td本不能设置字体颜色,只能设置其背景色。例如 I am a Girl.//设置背景色I am a Girl.//设置td中的文字颜色,文字需要包含在标签内原创 2016-11-27 10:04:26 · 5987 阅读 · 0 评论 -
js实现时钟
js实现时钟原创 2017-07-27 16:53:41 · 439 阅读 · 0 评论