Hi,
how to check kind of a control with jquery that this control is a RadComboBox or TextBox?
E.g.: I have a RadComboBox with id="Street" and I want to know if there is a RadComboBox.
Thanks.
1 Answer, 1 is accepted
0
Veselin Vasilev
Telerik team
answered on 21 Aug 2009, 09:14 AM
Hello Jaromin Sycz,
If you have a RadControl with ID = "Street" you can check if it is a combo by using:
var element = $find("Street");
if (element && Telerik.Web.UI.RadComboBox && element instanceof Telerik.Web.UI.RadComboBox)