狀態顯示錯誤我有以下輸入標籤asp.net表裏面如果單選按鈕ID
<td class="style18">
<asp:CheckBox ID="chkContentTone" onclick="enableGroupBoxTone()"
runat="server" Text="Content Tone" CssClass="ChkBoxStyle"/>
</td>
<td class="styleCntTon">
<input type="radio" id="rdBtnPositive" name="q2" title="Posotivetitle" value="positive"/>
<label for="rdbtnPositive" class="RadioGroup">Positive</label>
<input type="radio" id="rdBtnNegative" name="q2" title="Negativetitle" value="negative"/>
<label for="rdBtnNegative" class="RadioGroup">Negative</label>
<input type="radio" id="rdBtnNeutral" name="q2" title="Neutraltitle" value="neutral"/>
<label for="rdBtnNeutral" class="RadioGroup">Neutral</label>
</td>
但是當我把一個if
條件,單選按鈕的顯示錯誤。
這是爲什麼發生的任何想法?
你是否缺少'runat =「server」'? –
絕對.. Runat服務器丟失.. – pordi
我添加runat =「服務器」,但仍然有問題:( – Mohsinjan110