Hi
I am working through some Telerik sample code and having some errors. I am trying to understand how it works in order to troubleshoot the problem.
Specifically, I am using a ComboBox widget with an id value (let's call it comboID) which is set in the .Name property.
Now this code from the sample:
$(comboID).each(function () {
eval($(this).children("script").last().html());
});
I think adds a new combo box. What does the ("script") keyword signify?
Now I need to find the ComboBox and update the selected item.
$(comboID).data().kendoComboBox.value(status);
But get undefined for the kendoComboBox. I'm not sure what this line does. I assume we are looking into the DOM but what is the type that is returned?
Thanks for your help. Just trying to understand.