Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何选择数据文本字段而不是索引
以下选择索引而不是数据文本字段
var hhProduct = $("#ProductData").data("kendoDropDownList").select();
请告知我如何实现这一目标
要获取或设置下拉列表的文本,您必须使用$("#ProductData").data("kendoDropDownList").text();
$("#ProductData").data("kendoDropDownList").text();