Changes between Initial Version and Version 1 of Ticket #3999, comment 21
- Timestamp:
- Jun 14, 2012, 1:00:42 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3999, comment 21
initial v1 1 1 One quick way you can add the clear feature even on read only fields is to add the following code to your existing datepicker control: 2 3 4 {{{ 2 5 3 6 }).keyup(function(e) { … … 7 10 }); 8 11 12 }}} 13 14 9 15 This will enable people to highlight(which they can even on RO fields) and then use the backspace or delete to remove the date using the internal _clearDate function.