topic yes no Vote View Results topic - Results (38 votes) yes 34.21% (13 votes) 13 no 65.79% (25 votes) 25 Show Voting Form function poll_vote() { var vote_option = $("input[name='poll_vote']:checked").val(); if(!vote_option) return; $.ajax({ type: 'POST', url: '/ajax/forum_poll_vote', data: { option: vote_option, board: '3', topic: '80265413', message: '0', key: 'cd6d2e27' }, success: function(response) { if(response.error) { alert(response.error); } else { $("#poll_vote").hide(); $("#poll_results").html(response.html).show(); } } }); } function view_results_legacy() { $("#poll_vote").hide(); $("#poll_results").show(); } function hide_results_legacy() { $("#poll_results").hide(); $("#poll_vote").show(); } topic