Here's a fiddle link: http://jsfiddle.net/rh74h/
The checkboxes are listed below:
<div ID="campaignDiv" runat="server">
<ul>
<li>
<span class="textDropdown">Text1</span>
<input type="checkbox" id="1" value="1" />
<label for="1"></label>
</li>
<li>
<span class="textDropdown">Text1</span>
<input type="checkbox" id="2" value="2" />
<label for="2"></label>
</li>
<li>
<span class="textDropdown">Text1</span>
<input type="checkbox" id="3" value="3" />
<label for="3"></label>
</li>
<li>
<span class="textDropdown">Text1</span>
<input type="checkbox" id="4" value="4" />
<label for="4"></label>
</li>
</ul>
I am facing difficulty in identifying the selected checkboxes due to a specific style being used.
Currently, I need to access the value
of each checkbox.
Is there a way to achieve this?