Jquery select all unchecked radio with text == FOO -


i have fiddle http://jsfiddle.net/rh0dium/kry2n/3/ trying create "mark unanswered.." foo. having trouble last 2 parts. first selector find labels contain radio in haven't been answered. have tried various combinations of:

var inputs = $('input:radio:not(:checked):contains("' + value + '")'); 

but none of them seem grab it. furthermore once them how ensure it

  1. isn't answered.
  2. ensure given label 1 answer.
  3. add list if user changes mind can reset it. purpose of answers.

am looking @ wrong? or jquery guru me out.

updated

http://jsfiddle.net/rh0dium/kry2n/4/

thanks

the following code radio that's not checked , value contains value

$('input:radio:not(:checked)[value*="' + value + '"]'); 

Comments