This class can be used to present and process a poll without reloading the page where it appears.
It uses an HTML template to present the poll page. The poll options appear as radio buttons in a place determined by the template.
The class also generates the necessary Javascript to submit the poll votes to the server and present the current poll results using AJAX. |