This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

comparing two checkbox groups

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have two checkbox groups -

one is group1 with values - assessment, certification, mrl, supporting assessment.

second is group2 with values - assessor, certifier, erm, ferm, supporting assessor.

my condition is if supporting assessment is checked from the first group and supporting assessor is not checked from the second group, throw an alert message to the user.

how can i do this using javascript?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If only one choice is possible in the 2nd group, why not just go ahead and set it as checked in code rather than making the user guess?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic