js 如何判断复选框选择的value都相同
<input type='checkbox' name='type' value='运费'/><input type='checkbox' name='type' value='加工费'/><input type='checkbox' name='type' value='运费'/><input type='checkbox' name='type' value='加工费'/><input type='checkbox' name='type' value='运费'/><input type='checkbox' name='type' value='产品'/><input type='checkbox' name='type' value='产品'/>
运费<input type='checkbox' name='type' value='运费' onclick="return fn(this)"/>加工费<input type='checkbox' name='type' value='加工费' onclick="return fn(this)"/>运费<input type='checkbox' name='type' value='运费' onclick="return fn(this)"/>加工费<input type='checkbox' name='type' value='加工费' onclick="return fn(this)"/>运费<input type='checkbox' name='type' value='运费' onclick="return fn(this)"/>产品<input type='checkbox' name='type' value='产品' onclick="return fn(this)"/>产品<input type='checkbox' name='type' value='产品' onclick="return fn(this)"/>