I’m searching for a solution that lets users click on links only if the radio buttons are checked. Otherwise it should a message should appear (popup).
Here is my code:
<div id="rightnav">
<a href="katan_checklist_walkaroundcheck.html">Next</a></div>
</div>
<li class="radiobutton"><span class="name">Struct. Temp. Indic.> 38°C -not exceed 55°C</span>
<input name="1" type="radio" value="other" /></li>
<li class="radiobutton"><span class="name">Airplane Documents - check </span>
<input name="2" type="radio" value="other" /></li>
<li class="radiobutton"><span class="name">Flight Control Lock - removed</span>
<input name="3" type="radio" value="other" /></li>
...
You can do something like this:
Where ‘a_next’ is id of the anchor.
jsfiddle