Which One? Cupkakes Brownies Vote View Results Which One? - Results (63 votes) Cupkakes 26.98% (17 votes) 17 Brownies 73.02% (46 votes) 46 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: '80405440', message: '0', key: '93a97752' }, 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(); } Which Bakery snack do you like better?