回复 3楼一萧一剑的帖子
测试代码如下:
- <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
- <script type="text/javascript">
- function test() {
- $("div[controltype=chgrayarea]").css("background-color", "red");
- $("div[fpspread=rowpadding]").css("background-color", "yellow");
- }
- </script>
复制代码 |