How do I use jQuery to provide instant feedback (same page as question)

Events happening in the community are now at Drupal community events on www.drupal.org.
memcinto's picture

I'm using 7.x-4.0-beta2 and would like to provide quiz-takers with "instant" (same page as question) feedback. I've done a bit of jQuery in Drupal, so I can probably figure it out eventually, but if I had a nudge in the right direction it would save me a lot of time.

I assume I would need to add something to, e.g., Drupal.behaviors.multichoiceAlternativeBehavior

such as adding something to
.click(function(event)

?

Or maybe I could use the .addClass('selected') to trigger showing

$content['body']['feedback']['#markup']

???

Suggestions welcome. Thank you so much.

Quiz

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week