How to Get Dropdown's Selected Item's text in Kendo UI?

后端 未结 7 815
遥遥无期
遥遥无期 2021-02-05 02:05

I am using Kendo UI Controls. I want to get the selected text of the dropdown list in jquery. I have used this syntax :

 $(\"#ddl\").data(\"kendoDropDownList\")         


        
7条回答
  •  离开以前
    2021-02-05 02:38

    I agree with d.popov, your question does seem to be the answer. placing your statement in an alert function pops up the selected text:

    Alert($("#ddl").data("kendoDropDownList").text());

    Tested in IE11. The actual IE version related to the problem was never mentioned...

提交回复
热议问题