开关-默认关
<input type="checkbox" id="close" name="close" lay-skin="switch" lay-text="是|否">
开关-默认开
<input type="checkbox" checked="" name="open" lay-skin="switch" lay-filter="switchTest" title="开关" lay-text="是|否">
checked = $("#close").prop("checked");
开关-默认关
<input type="checkbox" id="close" name="close" lay-skin="switch" lay-text="是|否">
开关-默认开
<input type="checkbox" checked="" name="open" lay-skin="switch" lay-filter="switchTest" title="开关" lay-text="是|否">
checked = $("#close").prop("checked");