
JavaScript
煜 [yù]
求上则可能居中,求中则可能居下!
展开
-
JS操作CSS
方法: document.getElementById("xx").style.xxx中的全部属性是什么 盒子标签和属性对比 CSS语法(不区分大写和小写) JavaScript语法(区分大写和小写) border border border-bottom borderBottom border-bottom-color borderBottomColor border-bottom-style borderBottomStyle border-bottom-width ...原创 2020-07-16 11:01:17 · 100 阅读 · 0 评论 -
ajax传参转换特殊字符
encodeURIComponent(需要处理的字段);原创 2018-09-19 17:53:41 · 406 阅读 · 0 评论 -
获取select选中值的方法
<select style="width: 13%;" class="selectType" id="selectType" onchange="selectType();"> <option>请选择类型</option> <option value="11">aaa</opti原创 2018-09-14 16:06:29 · 854 阅读 · 0 评论 -
JQ选择器操作多个元素
$(".class1 .class2") 选择class1元素下class2的元素(中间有空格) $(".class1.class2") 选择同时含有class1和class2的元素(中间没有空格) $(".class1,.class2") 选择class1或者class2的元素(中间有逗号)...原创 2018-09-30 10:37:31 · 2164 阅读 · 0 评论