Вот вам тестовый пример без jQuery.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Документ без названия</title>
<style type="text/css">
.test {
pointer-events: none;
}
.test::after {
background: red;
content: '';
display: block;
height: 100px;
pointer-events: all;
width: 100px;
}
</style>
</head>
<body>
<div class="test">Hello world!</div>
<script type="text/javascript">
document.querySelector('.test').onclick = function() {
alert('Hello world!');
};
</script>
</body>
</html>