This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Select All  RSS feed

 
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
Boost this thread!