这是我的复选框代码。目前,我检索每一行中的所有标签。
<table id="mytable">
<tr>
<p><label for="id_q">Enter Gene:</label> <input textarea name="Text1" cols="40" rows="5" name="q" type="search" value="CYP17A1" /></p>
<p><label for="id_models_0">Disease:</label> <ul id="id_models[]"><td><li><label for="id_models_0"><input checked="checked" id="id_models_0" name="models" input type="checkbox" value="predictgene.amyotrophic_lateral_sclerosis_motor_neuron_disease" /> ALT</label></li></td>
<td><li><label for="id_models_1"><input id="id_models_1" name="models[]" input type="checkbox" value="predictgene.arthrogryposis" /> AR</label></li></td>
<td><li><label for="id_models_2"><input id="id_models_2" name="models[]" input type="checkbox" value="predictgene.congenital_myaesthenia" /> CM</label></li></td>
<td><li><label for="id_models_3"><input id="id_models_3" name="models[]" input type="checkbox" value="predictgene.early_onset_dystonia" /> ED</label></li></ul></p></td>
<br/><br>
</tr>
<button id="save">Click</button>
</table>