<a href="#" id=":foo-foo__foo" onclick="alert(document.getElementById(':foo-foo__foo').innerHTML)">click</a>