I have the following html:
When I click on the Save Schedule button, I need to navigate up, then down, to the checkbox input and see if it is checked or not,preferably using JQUERY. I've tried various combinations of closest, parent, etc, but can't figure it out. EDIT:
I have this set up in a Kendo grid as:
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" });
My saveSchedules function is
function saveSchedules(e) {
e.preventDefault();
var dataItem = $(e).parent('tr').find('.enabled-checkbox').prop('checked');
/// etc
How do I do this in the function?

$button.parent('tr').find('.enabled-checkbox').prop('checked')supposing there is no other checkbox of this class in the row.eis an event, you need to start from$(e.currentTarget), which is the control clicked.