Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Select All

 
Grishma Dube
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I've written a javascript function, which is matching to my requirements. But this function doesn't work, if i have just a single box in list.

Pls help me in resolving in this problem. My code :


[ June 24, 2005: Message edited by: Grishma Dube ]
[ June 24, 2005: Message edited by: Grishma Dube ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when there is one checkbox, there is no array so you need to account for that. Here is an example below.



Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic