How do i get the value of a Kendo Date Picker by class name. The reason being is because im using the name and id attributes for something else. As you can see below the class attribute is dynamic. Every other time ive selected a Kendo Date Picker, i've always used the ID attribute. Is it possible to select by class attribute?
@Html.Kendo().DatePicker().Name("SurveyResponse.DateRes[" + @guid + "].Date")
.Format("MM/dd/yyyy")
.HtmlAttributes(new {
onkeydown = "javascript:return false;",
onblur = "ConditionalTextBox(" + @item.SurveyQuestionID + ",'datecontrol')",
@placeholder = "Your answer",
@required = "required",
@class = "IsConditionalTextBox_" + @item.SurveyQuestionID
})