Home >Web Front-end >HTML Tutorial >Can the small black border that appears after the radio radio button is selected be removed? _html/css_WEB-ITnose

Can the small black border that appears after the radio radio button is selected be removed? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:13:121538browse


Reply to discussion (solution)

window.onload = function() {	var obj = document.getElementsByTagName('input');	for (var i = 0; i < obj.length; i ++) if (obj[i].type == 'radio') obj[i].onclick = function() { this.blur(); }}

Haha, out of focus... I learned the trick

Learned, thank you 1st floor

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn