用jq编写聚焦事件

$('.inp1').focus(function(){
        $(this).parent().addClass('ipo');
    });
    $('.inp1').blur(function(){
        $(this).parent().removeClass('ipo');
    });
posted @ 2020-05-15 22:44  丶玲珑骰子安红豆  阅读(158)  评论(0)    收藏  举报