Search code examples
jquerymodel-view-controllertimepicker

Timepicker doesn't work in mvc project


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?


Solution

  • 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/