Good, I would like default to show me the current time, I do not know how to do, I have the grid with the hour and minute with PM / AM to choose, if I click "Now", if you give me the current time. But I would like the current time to be shown by default in the input without clicking. The format that shows me is "08:35 AM"
<div>
<label for="hora">Hora</label>
<?php echo form_input('hora',$venta->hora, ' id="hora" class="timepicker" size="6"'); ?>
</div>
<script type="text/javascript">
$('.timepicker').timepicker ({
showPeriod: true
, showNowButton: true
, showCloseButton: true
});
</script>