html5判断文字是否有下划线

来源:互联网 发布:郑州中大门网络 编辑:程序博客网 时间:2024/05/19 17:22
if($('#div1').css('text-decoration').indexOf('none')){  //有下划线}else{//无下划线 }

原创粉丝点击