Jak zaimplementować i korzystać z datepicker-a-eyecona?
odwiedziłemEyecon i pobrał datepicker. Mam trzy foldery. „css”, „js” i „less”. Dołączyłem bootstrap-datepicker.js i najnowsze jquery.js i połączyłem .css w głowie:
<!DOCTYPE>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Test</title>
<link rel="stylesheet" type="text/css" href="../css/datepicker.css">
<link rel="stylesheet" type="text/css" href="../css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="../css/bootstrap-responsive.css">
</head>
<body>
<div class="well">
<!--What should I enter here and where/how do I call the function?-->
</div>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/bootstrap-datepicker.js"></script>
<script type="text/javascript" src="../js/bootstrap.js"></script>
</body>
</html>
Jak widać, pracuję już z biblioteką bootstrap i dlatego też to uwzględniłem.
Moje pytanie brzmi: jak zaimplementować i wywołać funkcję wyboru daty?