Some like this perhaps would work, depends on what you need.HTML Code:<a href="#" onclick="addVote(); return false;">Vote!</a> <script type="text/javascript> function addVote(){ // Run ajax function here that changes a database value for the number of votes } </script>