Topic Yes No Vote View Results Topic - Results (60 votes) Yes 58.33% (35 votes) 35 No 41.67% (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: '400', topic: '80186937', message: '0', key: '3136e27f' }, 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 --- https://s6.gifyu.com/images/FAA2F70E-9A97-44BC-A273-317FBB843AE2.gif