Changes between Initial Version and Version 1 of Ticket #3999, comment 21


Ignore:
Timestamp:
Jun 14, 2012, 1:00:42 PM (5 years ago)
Author:
Tiggrstaar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3999, comment 21

    initial v1  
    11One 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{{{
    25
    36        }).keyup(function(e) {
     
    710        });
    811
     12}}}
     13
     14
    915This 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.