$(function(){ $("#ul").on('click','li',function(){ if(!$(this).a ttr('s')){ $(this).css('background','red'); $(this).attr('s',true); }else{ $(this).cs
posted on 2018-04-27 22:01  liweideblogs  阅读(169)  评论(0编辑  收藏  举报