Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

kendo javascript t.find is not a function

When I try to hide permanently spinning busy indicator of kendo multiselect with telerik function:

var multi = $("#statusMultiselect").data("kendoMultiSelect");
kendo.ui.progress(multi, false);

I get javascript error:

TypeError: t.find is not a function

And I have no idea why?

like image 547
Michael Brennt Avatar asked Aug 10 '26 07:08

Michael Brennt


1 Answers

I had the same issue and it was because the element I passed to the call was invalid. Once I changed it to a valid selector it worked.

For example:

 kendo.ui.progress($('.myclassselector'), true); //or false to hide it.

I suspect the problem in the question was due to passing in a kendo object, not a jquery element as the kendo object won't have this find function where the jquery one will.

like image 150
Guy Lowe Avatar answered Aug 12 '26 21:08

Guy Lowe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!