I try to use datepicker and timepicker on a web application with jQuery. datepicker works well and I find the class.
Nevertheless I do not know why timepicker does not. The class does not exist and when I implement it, it does not work.
Datepicker:
<input class="datepicker form-control" onkeyup="datemask(this);" type="text" id="datepicker" style="width: 100px;" maxlength="10"/>
<script>
$(function () {
$(".datepicker").datepicker({nextText: "", prevText: ""});
});
</script>
Timepicker:
<input class="timepicker form-control" type="text" id="timepicker" style="width: 100px;"/>
<script>
$(function () {
$(".timepicker").timepicker();
});
</script>
Suggestion or explanations about this strange problem?