there are checked, under several different div to get the selected values and put them in different arrays
<div class="content">
<div class="selectContent1">
<input type="checkbox" value="100" name="option" class="selectName">oppo
<input type="checkbox" value="200" name="option" class="selectName">
<input type="checkbox" value="300" name="option" class="selectName">
</div>
<div class="selectContent2">
<input type="checkbox" value="1" name="option" class="selectName">iOS
<input type="checkbox" value="2" name="option" class="selectName">Android
<input type="checkbox" value="3" name="option" class="selectName">
</div>
</div>
- Select all in the first div, then get the value of [100200300]
- if ios and android, are selected in the second div, the value obtained is [1 li 2]
.