消除blur属性的边框

直接设置样式为:  outline:none

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<button onblur="asd()" style="outline: none;">ckick</button>
<script src="http://libs.baidu.com/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
    function asd() {
        alert("没有边框");
    }
</script>
</body>
</html>
原文地址:https://www.cnblogs.com/gwcyulong/p/6808994.html