Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to learn kendo dropdownlist is enabled or disabled in javascript?

I want to learn kendo dropdownlist is enabled or disabled for using in a if function.

For example if kendo dropdownlist is enabled my return value true, otherwise false

How can I do that?

Thanks for all answers

like image 220
MustafaP Avatar asked Jan 12 '23 12:01

MustafaP


1 Answers

You can do very simply with

$('#selectId').prop('disabled');

In disabling, KendoUI disabled too the select, so :

var state = $('#selectId').prop('disabled');
like image 50
BENARD Patrick Avatar answered Jan 26 '23 06:01

BENARD Patrick