<a href="javascript:void(0)" onclick="dostuff()">Click me</a>
onclick="dostuff()" will then listen for clicks and call the `dostuff` function to update the page or load a new one.
Nowadays it's considered bad practice and to be honest it wasn't exactly good practice in those days but it was very commonly used.
onclick="dostuff()" will then listen for clicks and call the `dostuff` function to update the page or load a new one.
Nowadays it's considered bad practice and to be honest it wasn't exactly good practice in those days but it was very commonly used.