I find simple documented php+ js form template + for validation and sending. Code is quite straight-forward - for better viewing experience I posted it on codepen + php. After I click on the button, page will reload with this new address //site.com/?newsletter_ema
com and nothing more happens. What's wrong? Thank you in advance
NOTE : click function is inside document.ready function. On the site is another form and it runs onthe same template and works well.
HTML - http://codepen.io/anon/pen/LEvJzm.html
JS - http://codepen.io/anon/pen/LEvJzm.js
PHP - http://codepad.org/VlGCP10f