al:checkbox实现多选框

<div class="al-chk-item-border">
<input type="checkbox" value="1" id="lvl_1" checked="checked" name="lvl"/><label for="lvl_1" class="al-chk-item-label">高级</label>
</div>
<div class="al-chk-item-border">
<input type="checkbox" value="2" id="lvl_2" checked="checked" name="lvl"/><label for="lvl_2" class="al-chk-item-label">中级</label>
</div>
<div class="al-chk-item-border">
<input type="checkbox" value="3" id="lvl_3" name="lvl"/><label for="lvl_3" class="al-chk-item-label">初级</label>
</div>

标签实现:

<al:checkbox data="{1:高级,2:中级,3:初级}" name="lvl" value="1"></al:checkbox>默认选中1

<al:checkbox data="{1:高级,2:中级,3:初级}" name="lvl" value="1,2"></al:checkbox>默认选中1,2

其他文档