正确方法:
var isReturned = document.getElementById(‘cboxReturned‘).checked;
错误方法:
var isReturned = $("#cboxReturned").attr("checked");
时间: 2024-10-11 04:41:24
正确方法:
var isReturned = document.getElementById(‘cboxReturned‘).checked;
错误方法:
var isReturned = $("#cboxReturned").attr("checked");