JSFiddle - React, Tailwind, and code Playground
HTML
<div class="subtab_left">
<ul>
<li class="notebook"><a href="http://google.com">Google.com</a></li>
<li>Something else</li>
<li>And one more</li>
</ul>
</div>
JavaScript
//note the e declared in the function parameters now
$("div.subtab_left li.notebook a").click(function() {
alert("asdasdad");
});