<a href="#" _asd="xxxx" onclick="test(event)">test</a>
<sceipt>
function test(event){
    console.log(event.target._asd.value);
}
</script>

 

console打印:xxxx