如何在现代流行音乐中获得选中的checkboxlist值。 [英] how to get selected checkboxlist value in modern pop.
本文介绍了如何在现代流行音乐中获得选中的checkboxlist值。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
< script type = text / javascript >
$(function(){
$('#<% = Button1.ClientID %> ')。click(function(){
$(#popupdiv)。dialog({
width:400,
height:250,
modal:true
});
返回false;
});
})
函数loadStudent()
{
__doPostBack('load $ student');
}
< / script >
< asp:CheckBoxList ID = CheckBoxList1 runat = server DataSourceID = SqlDataSource2 DataTextField = 代码 D ataValueField = departmentid
< span class =code-attribute> RepeatC olumns = 2 RepeatDirection = 水平 >
< / asp:CheckBoxList >
解决方案
(function(){
('#<% = Button1.ClientID %> ')。click(function(){
(#popupdiv)。dialog({
width:400 ,
身高:250,
模态:真
});
返回false;
});
})
函数loadStudent()
{
__doPostBack('load
sir, i have a modern popup. In which i have a checkboxlist and a Button. i need to send selected checkboxlist value on vb page. how can i do it.. my code id like:-
<script type="text/javascript">
$(function() {
$('#<%=Button1.ClientID%>').click(function() {
$("#popupdiv").dialog({
width: 400,
height: 250,
modal: true
});
return false;
});
})
function loadStudent()
{
__doPostBack('load$student');
}
</script>
<asp:CheckBoxList ID="CheckBoxList1" runat="server" DataSourceID="SqlDataSource2" DataTextField="code" DataValueField="departmentid"
RepeatColumns="2" RepeatDirection="Horizontal">
</asp:CheckBoxList>
解决方案
(function() {
('#<%=Button1.ClientID%>').click(function() {
("#popupdiv").dialog({ width: 400, height: 250, modal: true }); return false; }); }) function loadStudent() { __doPostBack('load
这篇关于如何在现代流行音乐中获得选中的checkboxlist值。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文