Validating radiobutton must have selected value
I am trying to validate with jQuery that at least one input is checked inside the .QuizAnswers div. Any thoughts?
- <div class="QuizAnswers">
-
- <div class="QuizAnswer">
- <input type="radio" value="2" name="questionAnswer">
- <label for="questionAnswer">a. Taxilane Centerline</label>
- </div>
-
- <div class="QuizAnswer">
- <input type="radio" value="3" name="questionAnswer">
- <label for="questionAnswer">b. Movement Area Boundary Line-Stop!</label>
- </div>
-
- <div class="QuizAnswer">
- <input type="radio" value="4" name="questionAnswer">
- <label for="questionAnswer">c. Runway Centerline</label>
- </div>
-
- <div class="QuizAnswer">
- <input type="radio" value="5" name="questionAnswer">
- <label for="questionAnswer">d. Taxiway Edge Marking</label>
- </div>
-
- </div>
-
-