DOCTYPE html> charset="utf-8"> name="viewport" content="width=device-width, initial-scale=1"/> href="css/mui.min.css" rel="stylesheet"/> class="mui-bar mui-bar-nav"> class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"> class="mui-title">复选框值获取 class="mui-content"> class="mui-input-row mui-checkbox mui-left"> 选项1 name="checkbox1" value="选项1" type="checkbox" class="rds"> class="mui-input-row mui-checkbox mui-left"> 选项2 name="checkbox1" value="选项2" type="checkbox" class="rds"> type="button" onclick="getVals();">获取值