JSFiddle - React, Tailwind, and code Playground
HTML
<a href="#" action="open">Link 1</a>
<a href="http://www.google.com/">Google.com</a>
JavaScript
$('a[action|=open]').live('click', function(evt) {
alert('test');
});
<a href="#" action="open">Link 1</a>
<a href="http://www.google.com/">Google.com</a>
$('a[action|=open]').live('click', function(evt) {
alert('test');
});