Thursday 18 October 2012

Calender in Javascript



Recently i was searching for a calender to implement in my Rails app. I came across a jquery plugin named jquery.ui.datetimepicker . I forked that repository from github and implemented it. Added time functionality in it and also made changes according to my requirement.
 But their was no document related to it. So i thought to write blog about it and also i have created a demo app.

  Download
    Download  all the js file, css file and images related to it from        "https://github.com/BeenaShetty/jquery.ui.datetimepicker" this link.

  Requirement
    Include this files in your application.

  Usage
      jQuery(document).ready(function(){
         jQuery(input-target-selector).datetimepicker();
      });

where the input-target-selector naturally is  class or id of a selector (eg.  .datepickers or #picker). The datetimepicker will be effective for all selected input element .

 

DEMO APP

No comments:

Post a Comment