I have one
<input type="date" class="form-control" name="data">
In Jquery I need to capture that date and then send it to DB
var data = $("#data").val();
But the value only returns 'undefined'. How do I get the value of an input type date?