I have this markup:
<form id="dpl" class="form-horizontal" method="post">
<label class="col-md-1 control-label" for="report_date">Svc Date</label>
<div class="col-md-3" id="dispatchLog-container">
<div class="input-group date">
<input id="dpl_date" name="start" type="text" class="form-control" required="" value="11/17/2015" tabindex="-1"><span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
</div>
</div>
</form>
and this jQuery:
$('#dpl_date').on('change', function () {
alert('pre submit');
$('#dpl').submit();
alert('post submit');
});
Behavior:
Both alerts fire onChange()
but the form does not submit. Any ideas?