![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaScript
煜 [yù]
求上则可能居中,求中则可能居下!
展开
-
JS操作CSS
方法:document.getElementById("xx").style.xxx中的全部属性是什么盒子标签和属性对比CSS语法(不区分大写和小写) JavaScript语法(区分大写和小写)border borderborder-bottom borderBottomborder-bottom-color borderBottomColorborder-bottom-style borderBottomStyleborder-bottom-width ...原创 2020-07-16 11:01:17 · 77 阅读 · 0 评论 -
ajax传参转换特殊字符
encodeURIComponent(需要处理的字段);原创 2018-09-19 17:53:41 · 379 阅读 · 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 · 762 阅读 · 0 评论 -
JQ选择器操作多个元素
$(".class1 .class2") 选择class1元素下class2的元素(中间有空格)$(".class1.class2") 选择同时含有class1和class2的元素(中间没有空格)$(".class1,.class2") 选择class1或者class2的元素(中间有逗号)...原创 2018-09-30 10:37:31 · 2105 阅读 · 0 评论