Foxtable(狐表)用户栏目专家坐堂 → weui筛选功能求助!


  共有2627人关注过本帖树形打印复制链接

主题:weui筛选功能求助!

帅哥哟,离线,有人找我吗?
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:110592 积分:562856 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2019/7/10 10:32:00 [显示全部帖子]

Case "table.htm"
    Dim wb As New WeUI
    wb.AddForm("","form1","table1.htm")
    With wb.AddInputGroup("form1","ipg1","筛选")
        .AddInput("xm","姓名","text").Placeholder = "请输入姓名筛选数据"
        .AddInput("pw","部门","text").Placeholder = "请输入部门筛选数据"
    End With
    With wb.AddButtonGroup("form1","btg1",False)  '垂直排列
        .Add("btn1","筛选","button").Attribute= "oncli ck='myfunction()'"
        .Add("btn1","下载","","http://127.0.0.1/xiazai.htm")
    End With

    wb.AppendHTML("<div id='p1' style='margin:0.5em'>") '插入一个div,用于显示服务器返回的 页面
    With wb.AddTable("p1","用户表")
        .CreateFromTable(Tables("用户表"),True)
    End With
    wb.AppendHTML("</div>")
    wb.AppendHTML("<script src='./lib/ajaxform1.js'></script>") '引入脚本文件
    e.WriteString(wb.Build)

 回到顶部
帅哥哟,离线,有人找我吗?
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:110592 积分:562856 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2019/7/10 15:01:00 [显示全部帖子]

Case "table.htm"
    Dim wb As New WeUI
    wb.AddForm("","form1","table1.htm")
    With wb.AddInputGroup("form1","ipg1","筛选")
        .AddInput("xm","姓名","text").Placeholder = "请输入姓名筛选数据"
        .AddInput("pw","部门","text").Placeholder = "请输入部门筛选数据"
    End With
    With wb.AddButtonGroup("form1","btg1",False)  '垂直排列
        .Add("btn1","筛选","button").Attribute= "oncli ck='myfunction()'"
        .Add("btn1","下载","","http://127.0.0.1/xiazai.htm")
    End With

    wb.InsertHTML("<div id='p1' style='margin:0.5em'>") '插入一个div,用于显示服务器返回的 页面
    With wb.AddTable("","用户表")
        .CreateFromTable(Tables("用户表"),True)
    End With
    wb.InsertHTML("</div>")
    wb.AppendHTML("<script src='./lib/ajaxform1.js'></script>") '引入脚本文件
    e.WriteString(wb.Build)

 回到顶部