Update the data date (which is a datatimepicker) of a form that must load the value stored in the database to change it and update but not load the saved data
< script >
function obtener_datos(id) {
var received = $("#received" + id).val();
$("#mod_received").val(received);
}
$(document).ready(function() {
$.datetimepicker.setLocale('es');
$('#mod_adddatetimepicker').datetimepicker({
autoclose: true,
todayBtn: true,
startDate: "NOW()",
minuteStep: 10
});
}); <
/script>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12">Fecha y Hora Recibido <span class="required">*</span>
</label>
<div class="col-md-9 col-sm-9 col-xs-12">
<input type="text" name="mod_received" value="" id="mod_adddatetimepicker" class="form-control col-md-7 col-xs-12" required placeholder="Fecha y Hora Recibido">
</div>
</div>