A tiny but powerful jQuery plugin that simplifies the process of formatting and validating time strings in your text field.
Download This Plugin Back To jQueryScript
seconds
option is disabled, for more info see below).
Military time can be enabled by passing {default:24}
in the options object.
Allow the entry of seconds by passing {seconds:true}
in the options object.
A php class is also provided for server-side validation, which can be coupled with this widget for a total solution.