I am building a Custom html form and saving all the fields to a SharePoint Online list. I figured out adding text boxes and choice drop downs via JS/jQuery like,
var xxxxxxxx = $("#xxxxxxxx").val();
var yyyyyyyy = $("#yyyyyy").find("option:selected").text();
but can't figure out how to add HTML Checkbox (Yes/No) to a SharePoint Yes/No column.