Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Retain focus on invalid input

$
0
0

Hello Lynx IT,

The Kendo DatePicker widget element field returns the input element which holds the selected date string. I would suggest using the jQuery focus() method in order to focus the input element of the widget. 

var datepicker = $("#datepicker").data("kendoDatePicker");
datepicker.element.focus();
Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>