AJAX for election_result form