62,046
社区成员
发帖
与我相关
我的任务
分享
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<div style=" color:#1c7ac0; margin: 8px 20px;">
<asp:Label ID="lbVote" runat="server" Font-Bold="True" Text='<%#Eval("QuestionName")%>' ></asp:Label><a
name="vote" />
</div>
<div style="padding: 3px 20px;">
<asp:RadioButtonList ID="rblVote" runat="server" Width="100%" RepeatDirection="Horizontal">
</asp:RadioButtonList>
<asp:CheckBoxList ID="cblVote" runat="server" Width="100%" RepeatDirection="Horizontal" RepeatColumns="2">
</asp:CheckBoxList>
<asp:TextBox ID="TextBox1" runat="server" Width="100%" TextMode="MultiLine" Rows="6"></asp:TextBox>
</div>
</ItemTemplate>
</asp:Repeater>
$(":checked").each(function () {
var OptionID = $(this).attr("value");
StrOptionID += OptionID + ",";
})
alert(StrOptionID);
<div style=" color:#1c7ac0; margin: 8px 20px;">
<span id="Vote1_Repeater1_ctl00_lbVote" style="font-weight:bold;">您对本网总体印象如何?</span><a
name="vote" />
</div>
<div style="padding: 3px 20px;">
<table id="Vote1_Repeater1_ctl00_rblVote" border="0" style="width:100%;">
<tr>
<td><input id="Vote1_Repeater1_ctl00_rblVote_0" type="radio" name="Vote1$Repeater1$ctl00$rblVote" value="68" checked="checked" /><label for="Vote1_Repeater1_ctl00_rblVote_0">很好</label></td><td><input id="Vote1_Repeater1_ctl00_rblVote_1" type="radio" name="Vote1$Repeater1$ctl00$rblVote" value="69" /><label for="Vote1_Repeater1_ctl00_rblVote_1">较好</label></td><td><input id="Vote1_Repeater1_ctl00_rblVote_2" type="radio" name="Vote1$Repeater1$ctl00$rblVote" value="70" /><label for="Vote1_Repeater1_ctl00_rblVote_2">一般</label></td>
</tr>
</table>
</div>
<div style=" color:#1c7ac0; margin: 8px 20px;">
<span id="Vote1_Repeater1_ctl01_lbVote" style="font-weight:bold;">您认为本网的模块划分、栏目布局是否合理?</span><a
name="vote" />
</div>
<div style="padding: 3px 20px;">
<table id="Vote1_Repeater1_ctl01_rblVote" border="0" style="width:100%;">
<tr>
<td><input id="Vote1_Repeater1_ctl01_rblVote_0" type="radio" name="Vote1$Repeater1$ctl01$rblVote" value="71" checked="checked" /><label for="Vote1_Repeater1_ctl01_rblVote_0">合理</label></td><td><input id="Vote1_Repeater1_ctl01_rblVote_1" type="radio" name="Vote1$Repeater1$ctl01$rblVote" value="72" /><label for="Vote1_Repeater1_ctl01_rblVote_1">一般</label></td><td><input id="Vote1_Repeater1_ctl01_rblVote_2" type="radio" name="Vote1$Repeater1$ctl01$rblVote" value="73" /><label for="Vote1_Repeater1_ctl01_rblVote_2">不合理</label></td>
</tr>
</table>
</div>