function schedulefun(){
schedule = $("#schedule").text();
$('.pro').each(function(){
$(this).css('width',schedule);
});
$('.proring').each(function(){
$(this).css('left',schedule);
});
}
window.onload=schedulefun;
function schedulefun(){
schedule = $("#schedule").text();
$('.pro').each(function(){
$(this).css('width',schedule);
});
$('.proring').each(function(){
$(this).css('left',schedule);
});
}
window.onload=schedulefun;
本文标题:js对相同clss名改变样式
本文链接:https://www.haomeiwen.com/subject/eqciuttx.html
网友评论