Timepicker doesn't work in mvc project

239 views Asked by At

I'm trying to use timepicker from http://timepicker.co/ in my mvc project. I downloaded jquery.timepicker.min.js and jquery.timepicker.min.css and added it to my project. When I'm clicking in my input field nothing happened. Has anybody had the same problem and could share the way it could be fixed?

1

There are 1 answers

1
Nikhil Maheshwari On BEST ANSWER

Using Timepicker is very Simple. Just Add the Timepicker script and css on your page.

HTML :

<input type="text" id="example" />

JavaScript :

$(function(){
   $('#example').timepicker(); 
});

JsFiddle :

http://jsfiddle.net/nikdtu/rejzzp4x/