diff options
author | Andrey Panteleyev <insonifi@gmail.com> | 2015-06-26 23:11:07 +0300 |
---|---|---|
committer | Andrey Panteleyev <insonifi@gmail.com> | 2015-06-26 23:11:07 +0300 |
commit | a165d60c7f057f1c7ba4db45c84bf7ac5a1ed2cb (patch) | |
tree | e9e27b3f7e43ae789bd47de9a0349621a646ced7 /src/docs/examples.html | |
parent | 101ba95e8571a50b509a287d6dc623430e631cb0 (diff) | |
download | jQuery-Timepicker-Addon-a165d60c7f057f1c7ba4db45c84bf7ac5a1ed2cb.zip jQuery-Timepicker-Addon-a165d60c7f057f1c7ba4db45c84bf7ac5a1ed2cb.tar.gz jQuery-Timepicker-Addon-a165d60c7f057f1c7ba4db45c84bf7ac5a1ed2cb.tar.bz2 |
Adding documentation for timeInput option
Diffstat (limited to 'src/docs/examples.html')
-rw-r--r-- | src/docs/examples.html | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/docs/examples.html b/src/docs/examples.html index ae94ce6..370be36 100644 --- a/src/docs/examples.html +++ b/src/docs/examples.html @@ -287,7 +287,21 @@ $('#alt_example_3').datetimepicker({ }); </pre> </div> - + </div> + <h3 id="input_examples">Time Input</h3> + <!-- ============= example --> + <div class="example-container"> + <p>Allows for direct input of time string</p> + <div> + <input type="text" name="input_example_1" id="input_example_1" value="08/20/2014 09:22 -0400" /> + </div> +<pre> +$('#input_example_1').datetimepicker( + timeInput: true +); +</pre> + </div> + <!-- ============= example --> <div class="example-container"> <p>With inline mode using altField:</p> @@ -541,6 +555,4 @@ $('#utility_example_3').text(JSON.stringify( $.datepicker.parseTime('HH:mm:ss:l z', "14:36:21:765 +2000", {}) )); </pre> - </div> - -</div>
\ No newline at end of file +</div> |