如何在现代流行音乐中获得选中的checkboxlist值。 [英] how to get selected checkboxlist value in modern pop.

查看:79
本文介绍了如何在现代流行音乐中获得选中的checkboxlist值。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,我有一个现代的弹出窗口。其中我有一个checkboxlist和一个Button。我需要在vb页面上发送选定的checkboxlist值。我怎么能这样做..我的代码ID如下: -



 <   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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆