I have a HTML button:
<a class="btn-lg btn-data" role="button">Vote Up</a> <a class="btn-lg btn-data" role="button">Vote Down</a>
I also have two number fields (Vote_Up__c and Vote_Down__c) in my custom object that, when clicked, needs to be increased by 1 when a user clicks the Vote Up or Vote Down button in my visualforce page. Additionally, I don't want the same user to be able to "vote" twice on the same record.
Any ideas on how to implement this in an extension?