摘要:
隐式类型转换 调用Number()当有运算符(加减乘除,求余)时,会调用Number()转为数字再运算,除了 加 当 有字符串时就变身成拼接Boolean();String();typeof()string返回的类型 预编译 在<script>里面的代码,进行预编译,将变量声明,,函数声明提高在逻辑 阅读全文
摘要:
相邻的border会平分所占的区域,出现一个斜线, .my_triangle{ width: 10px; height: 10px; background-color: blue; border-width: 100px ; border-style: solid; border-left-colo 阅读全文
摘要:
event.stopPropagation();//阻止事件冒泡 ,可阻止父类事件的发生 event.preventDefault();//阻止默认行为 如A标签 阅读全文
摘要:
常用命令 git commit -m`v1.0-hello 提交至仓库 -m为描述 gitignore文件忽略规则 git安装教程 https://www.jianshu.com/p/8b0fa999cba7 本地代码上传教程 https://blog.csdn.net/Lucky_LXG/arti 阅读全文
摘要:
样式中设置content为元素的data-值 p{ color: deepskyblue; } p:before{ content: attr(data-beforeContent); color: darkred; } 然后js修改 $('p').on('click',function(){ $( 阅读全文
摘要:
字符串 1 使用" 。比如: ("'+key+'")例: htmlStr = htmlStr + '<span><img src="'+src+'"/><i onclick="deleteFile("'+key+'");" class="fa fa- 阅读全文
摘要:
ps:mysql5.6以上的版本,,安装目录下没有my.ini 或者my.cnf文件,,可以在安装目录下的programData文件夹找到,, 阅读全文
摘要:
jq $("#hiddenFile").get(0).filesjs this.files; 获取radio的值 $('input:radio:checked').val(); $("input[type='radio']:checked").val(); $("input[name='new_ty 阅读全文