Alright, I'm not really sure if I'm doing any of this the right way but here's what I've done...
I've created an AJAX web page and would like to use regular <a> links as the controls to modify the data on the page. I can do this by using
<a href='#' onclick='callfunction()'>Click me!</a>
Only problem is because I have the '#' symbol for the href it pops me back up to the top of the page. If I take the '#' out of the href then the onclick function does not get called.
If I use buttons to do this
<input type='button' value='Click me' onclick='callfunction()'>
It works exactly how I'd like it to, minus the buttons look completely out of place with the rest of the site.