Chandra Sekhar K

Chandra Sekhar K

  • NA
  • 79
  • 170k

Using Javascript

Dec 17 2010 1:26 AM
<asp:Button ID="btn" runat="server" Text="C" OnClientClick="Check()" />

        <input type="checkbox" id="chk1" />
        <input type="checkbox" id="ch2" />
        <input type="checkbox" id="chk3" />
        <input type="checkbox" id="chk4" />
On clicking the button , i want to find the number of checkboxes selected .

Using javascript?

Answers (2)