Which one? Ryu Ken Vote View Results Which one? - Results (16 votes) Ryu 50% (8 votes) 8 Ken 50% (8 votes) 8 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: '80171216', message: '0', key: '1dc696ff' }, 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(); } Discuss.