这部法典在FF和Kings公司中进行了一些工作,以换取一个经过限制的加价清单:
$( #lifesteps-group-0 :checked ).each(function() {
if (allSteps.length === 0) {
allSteps = $(this).val();
}
else {
allSteps = allSteps + , + $(this).val();
}
});
Basically the lifesteps-group-0 div has all of the checkboxes in them. Like I said above it works beautifully in FF and Chrome, but only works for the first checkbox in IE.
这里还有检查箱组的形式:
<div id="lifesteps-group-0">
<div>
<input type="checkbox" class="checkbox" name="lifesteps-0" id="lifesteps-0-22" value="22">
<label for="ls-22" class="checkboxgroup">Began preparation as a missionary canidate</label>
</div>
<div>
<input type="checkbox" class="checkbox" name="lifesteps-0" id="lifesteps-0-23" value="23">
<label for="ls-23" class="checkboxgroup">Began a small group, helped in a church plant</label>
</div>
</div>
oh GU GURUS?
感谢
方 法