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.
我有一个带有下拉列表和复选框的网格。当我选中复选框时,我想获取所选下拉列表的值。我怎么能用 kendoui 做到这一点
这是一种方法:
var $checkBox = $("#myCheckbox"); $checkBox.click(function () { if ($checkBox.is(':checked')) { var $dropDownVal = $('#myDropdownBox').val(); } });