我有 2 个单选按钮打开和关闭以及一个复选框 Done 。如果done是checked item应该关闭,如果done是unchecked item应该打开。类似地如果item关闭done应该勾选,如果open done应该不勾选。怎么办?
<input type="radio" name="radStatus" id="rbtnOpen" runat="server" />Open
<input type="radio" name="radStatus" id="rbtnClosed" runat="server" />Closed
<input type="checkbox" name="chkReview" id="chkReviewed" runat="server" />Reviewed