I have my form
<form class="newsletter" action="https://sendy.thegoodfellas.net/sendy/subscribe" method="POST" accept-charset="utf-8">
<span class="container active">
<label for="name">What's your name?</label>
<input class="required" type="text" name="name" id="name"/>
<span class="next" title="next"></span>
</span>
<span class="container">
<label for="email">What's your email?</label>
<input class="required" type="email" name="email" id="email"/>
</span>
<span class="submit" type="submit" name="submit" id="submit"></span>
</form>
and the JS
$('.next').click(function(){
var nextTarget = $(this).parent().siblings('span');
var currentTarget = $(this).parent();
currentTarget.removeClass('active');
nextTarget.addClass('active').find('input').focus();
});
$('input#email').on('keydown',function(e){
var keyCode = e.keyCode || e.which;
if (keyCode == 13) {
$('.submit').trigger('click');
}
})
$('.submit').click(function(){
var target = $(this);
var lastInputContainerLabel = target.parent().find('.container.active label');
target.addClass('submitted');
lastInputContainerLabel.addClass('fadeOut');
})
But for some reason, when the form is submitted I do not see the post call in the network. Nothing is sent.
https://thegoodfellas.net/beatsoutsideblockparty/
How should I debug it?