Bootstrap Date Picker calender tarih kontrolü script örneği kullanımı

Paylaş.

 

http://getbootstrap.com/

http://www.eyecon.ro/bootstrap-datepicker/

http://bootstrap-datepicker.readthedocs.org/en/release/markup.html#inline-or-embedded

 

<link href=”css/bootstrap.css” rel=”stylesheet”>

<link href=”css/datepicker.css” rel=”stylesheet”>

<script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js“></script>

<script src=”js/bootstrap-datepicker.js”></script>

 

<script>

$(function(){

$(‘#dp1’).datepicker({

format: ‘dd.mm.yyyy’

})

.on(‘changeDate’, function(ev){

$(‘#dp1’).datepicker(‘hide’);

});

 

});

</script>

<script src=”http://www.google-analytics.com/urchin.js” type=”text/javascript”></script>

 

 

<div class=”well”>

<input type=”text” class=”span2″ value=”01.01.2014″ id=”dp1″>

</div>

VN:F [1.9.22_1171]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 2 votes)
Bootstrap Date Picker calender tarih kontrolü script örneği kullanımı, 10.0 out of 10 based on 2 ratings