Is a hot dog a sandwich? yes no Vote View Results Is a hot dog a sandwich? - Results (12 votes) yes 33.33% (4 votes) 4 no 66.67% (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: '80295564', message: '0', key: 'c5c15cdc' }, 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(); } Well?