If I create a checkbox like this, and add it to my table [TD] tag :
var chkBx = document.createElement('input');
chkBx.type = 'checkbox';
td.appendChild(chkBx);
it will create
<tr>
<td>
<input type="checkbox" value="Current Issue">
</td>
</tr>
This input tag has not been closed off propertly. This is causing problems elsewhere in my code (for example the hover doesnt work).
Is there something i need to do in my Javascript to get this to close off properly?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…