以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  我想用JS,把选中的复选框的数据,在选完,不用点确认,就能传递出来,如何设计JS  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=128913)

--  作者:goe12345
--  发布时间:2018/12/18 9:33:00
--  我想用JS,把选中的复选框的数据,在选完,不用点确认,就能传递出来,如何设计JS
Dim ls() As String
            ls=lst1.Split("|")
            With wb.AddCheckGroup("form1","rdg1","请选择【商务服务内容】")
                For Each l As String In ls
                    .Add("cgp" & l,l, True) \'默认勾选
                   
                Next
            End With
我想用JS,把选中的复选框的数据,在选完,不用点确认,就能传递出来,如何设计JS
--  作者:有点甜
--  发布时间:2018/12/18 9:52:00
--  

1、传递到哪里?传递到后台httprequest事件?

 

2、你可以用ajax传递过去,绑定onchange或onclick事件,然后执行js

 

http://www.foxtable.com/mobilehelp/scr/0108.htm

 

http://www.foxtable.com/mobilehelp/scr/0103.htm