I have a click event in a script associated with a div id - when i move the mouse in the div area and click (the mouse does not change cursor) it does not fire off the event listener how do I make a div area clickable?
<script>
var myEl = document.getElementById('dealdata');
myEl.addEventListener('click', function() {
alert('Hello world');
}, false);
</script>
<td BGCOLOR="#91be40" align="center" valign="center">
<div id="dealdata">
<br /><?echo $dpromo;?>
<h1><?echo $dealvalue; ?></h1>
</div>
</td>