An error has occurred

{{terminalError}}

Poll

By entering your email and voting in our poll, you are also subscribing to the Townhall daily email newsletter. You can unsubscribe at any time.

Will President Trump win re-election this year?

var emailForm = document.querySelector("#pn-form-wrapper"); var emailInput = document.querySelector("#pn-email"); var emailSubmitButton = document.querySelector("#pn-submit"); var resultMessage = document.querySelector("#pn-message"); emailSubmitButton.addEventListener("click", function() { if (emailInput.value) { emailForm.hidden = true; resultMessage.hidden = false; var hDivs = document.getElementsByClassName('divcontainer'); var i = 0; for (i; i < hDivs.length; i++) { hDivs[i].style.display = 'none'; } } });