Skip to content
darionato edited this page Oct 12, 2012 · 2 revisions
  • Create an input text like this:

<input class="time" placeholder="Time" type="text" maxlength="5" />

  • Init the plugin in this way:

$('.time').timeFormat();

  • If you want, change the separator setting the option 'separator'

$('.time').timeFormat({ separator: '.' });

  • Done it!

Clone this wiki locally