以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助]菜鸟问题-js事件触发 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=160709) |
-- 作者:fczhaobo -- 发布时间:2021/2/18 12:59:00 -- [求助]菜鸟问题-js事件触发 当"product"选择完成后,如何自动点触发"btn1"按钮? wb.AddForm("","form1","xylist.htm") With wb.AddInputGroup("form1","ipg1","学员信息数据筛选") .AddSelect("product","所属分校",mrfx & "|" & userfxlb) With .AddInput("enddate","学员姓名","text") .Value = mrxm End With End With With wb.AddButtonGroup("form1","btg1",True) \'.Add("btn1", "确定", "submit") If flt = "" Then .Add("btn1", "数据筛选", "submit") Else .Add("btn1", "取消筛选", "reset","xylist.htm?unfilter=true").kind = 2 End If End With
|
-- 作者:有点蓝 -- 发布时间:2021/2/18 13:18:00 -- .AddSelect("product","所属分校",mrfx & "|" & userfxlb).Attribute = "onchange=""某js函数()""" js文件 function 某js函数(){
document.getElementById("btn1").click(); } |