我之前使用yiiGridView使用复选框并且工作正常,但是当我尝试在renderPartial页面上执行此操作时,它会不断出现此错误。 这是我的观点。
$(document).on('click', '.oc-apply-email-template', function (event) {
var memid = <?php echo Octopus::catchRequest('memid')?>;
var selectedCheckbox = $.fn.yiiGridView.getChecked('oc-list-email-template', 'chkbox');
console.log(selectedCheckbox);
})
以下是我的javascript。
this.find('.' + settings.tableClass).children('tbody').children('tr').children('td').children('input[name="' + column_id + '"]').each(function (i) {
它一直显示标题中显示的错误,当我点击此错误时,它会将我带到位于jquery.yiigridview.js的这一行
{{1}}