快捷导航

把radio的样式改成自己的图片,图和class都没有问题,jQuery有问题。

代码如下label{display:block;width:12px;height:12px;}                                                .che{background:url('/public/Admin/images/h1.png') no-repeat;width:12px;height:12px;cursor: pointer;}                        .che:hover{background:url('/public/Admin/images/h2.png') no-repeat;width:12px;height:12px;cursor: pointer;}                        .selected{background:url('/public/Admin/images/h3.png') no-repeat;width:12px;height:12px;cursor: pointer;}                                                .bgq{background-color:pink;width:20px;height:10px;}    [tr]          (1)          [td][/td]          [td][/td]          [td][/td]          [td][/td]                                        [td][/td]        [/tr]                                [tr]          (2)          [td][/td]          [td][/td]          [td][/td]          [td][/td]                  [td][/td]        [/tr]请问jQuery的部分哪里错了。

免责声明:本内容仅代表回答者见解不代表本站观点,请谨慎对待。

版权声明:作者保留权利,不代表本站立场。

回复

使用道具 举报

参与会员2

Here,

>
//改为$('label').eq(j).attr("class","che")//你写的这东西真乱啊
回复

使用道具 举报

for (i in $('label')) 这是什么意思
回复

使用道具 举报

可能感兴趣的问答

发新帖
  • 微信访问
  • 手机APP