Multiple elements with the same id.
-
On a quiz with more than one question, there are multiple instances of:
<div id="questionDiv">...</div>
and
<div id="question">...</div>
An id is supposed to be used only once in the DOM. Suggest you change these from id=”…” to class=”…”.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Multiple elements with the same id.’ is closed to new replies.