//attrprop propattr
$("-sharpbtn1").click(function () {
// $("-sharpck").attr("checked","true");
$("-sharpck").prop("checked",true);//true
});
$("-sharpbtn2").click(function () {
$("-sharpck").prop("checked",false);
});
I would like to ask why the false and true here do not need quotation marks, and what is the reason for the usual use of quotation marks?