javascript - jq traversal problem
某草草
某草草 2017-05-16 13:29:33
0
5
340

The problem is this;


现在我有10组`<span></span>`标签
        <span></span>
        <span class="table"></span>
        <span></span>
        <span></span>
        <span class="table"></span>
        <span></span>
        <span class="table"></span>
        <span class="table"></span>

Now I want to select the class="table" and add a style to play with it

某草草
某草草

reply all(5)
大家讲道理

$('span.table').css('color', 'red'), like this ?

左手右手慢动作

$("sapn.table").addClass("style")

某草草

$('.table').css({display: 'block', border: '1px solid #000', background: 'red'});

習慣沉默

$('span.table').addClass('class')

曾经蜡笔没有小新
$("span.table").css();
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template