This works for me:
<a id="nextButt" onclick="performNextAction()" class="next round">›</a>
<script>
function performNextAction(){
alert("You clicked Next Button in Javascript");
window.location.href = "#";
}
</script>
2
solved Javascript ‘OnClick’ and HTML Not Working When Used Together