I have links like this:
click c
I think when we use onClick we want to do something different than default. So, for all your links with onClick:
$("a[onClick]").on("click", function(e) { return e.preventDefault(); });