This is a migrated thread and some comments may be shown as answers.

Select all on on focus doesn't work

2 Answers 36 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
danparker276
Top achievements
Rank 2
danparker276 asked on 05 Aug 2014, 06:39 AM
            $("#sampleDate").focus(function () {
                $(this).select();
            });

add this doesn't seem to work.  Is there a clear button?

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Madjarov
Telerik team
answered on 05 Aug 2014, 10:19 AM
Hello Dan,


Using the same code with a timeout seems to work on my side. Here is a runnable example, which demonstrates this. Regarding the second question, could you please elaborate what are you trying to achieve?

I am looking forward to hearing from you.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
danparker276
Top achievements
Rank 2
answered on 05 Aug 2014, 03:14 PM
sorry i didn't use the timeout, thanks
Tags
Date/Time Pickers
Asked by
danparker276
Top achievements
Rank 2
Answers by
Dimiter Madjarov
Telerik team
danparker276
Top achievements
Rank 2
Share this question
or