Py学习  »  Jquery

jQuery-在表中查找复选框的值

scott • 6 年前 • 1351 次点击  

我有以下html:

enter image description here

编辑:

 columns.Command(command => command.Custom("Save").Text("<span class=\"k- 
 icon k-i-check\"></span>Save 
Schedule").Click("saveSchedules")).Width(80).HtmlAttributes(new { @class = 
"text-center" });

我的saveSchedules函数是

 function saveSchedules(e) {

        e.preventDefault();

        var dataItem = $(e).parent('tr').find('.enabled-checkbox').prop('checked');

/// etc

在函数中如何执行此操作?

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/56007
文章 [ 1 ]  |  最新文章 6 年前