File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to find Checkboxes?

 
Krishna Srinivasan
Ranch Hand
Posts: 1862
Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to iterate the checkboxes in form?
Is there any way to find the checkboxes in a form. like getting number of checkboxes in the form.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find many examples on the web, but here goes.

Using normal JavaScript (NB: I have not run this code):


Using jQuery:

More info at http://docs.jquery.com/Selectors
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic