Topic Alcohol Cigarettes Vote View Results Topic - Results (155 votes) Alcohol 34.84% (54 votes) 54 Cigarettes 65.16% (101 votes) 101 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: '400', topic: '80339768', message: '0', key: 'f0edb654' }, 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