1👍
What you should do is use jQuery for a click function. When the vote button is pressed this script will show the previously hidden vote confirmation. If you need to hide the vote buttons I’ve included that too. You would obviously need to replace your class names with the appropriate ones.
<style>
.yourVoteConfirmation {
display: none;
}
</style>
<script>
$(document).ready(function () {
$('.yourVoteButton').click(function() {
$('.yourVoteConfirmation').show('fast');
// if you need to hide the vote button
$('.yourVoteButton').css('display', 'none');
});
});
</script>
Source:stackexchange.com