以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  点击删除无反应  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=189680)

--  作者:ycs5801
--  发布时间:2023/12/17 11:49:00
--  点击删除无反应
  wb.InsertHTML("<div style=\'height:50px\'></div>")
        wb.AddPage("", "page3").Attribute = "style=\'position: fixed;bottom: 0;right: 0;left: 0\'" \'增加两个page
        With wb.AddButtonGroup("page3", "btg1", False)
            .Add("btn1", "返回首页", "", "default.htm")
            \'            .Add("btn2", "保存", "button").Attribute = ""
                        If e.Cookies("用户级别") = "科长" Then
                            .Add("btnDelete", "删除").Attribute = """
                        End If 
            
        End With
        e.WriteString(wb.Build)
        With wb.AddDialog("", "dlg1", "删除确认", "您确定要删除当前信息吗?")
            .AddButton("btnCancel", "取消").Kind = 1
            .AddButton("btnOK", "确定").Attribute = " & e.GetValues("name") & "\'"""
         
        End With
           e.WriteString(wb.Build)

网页中点击删除无反应

--  作者:ycs5801
--  发布时间:2023/12/17 12:01:00
--  
Uncaught TypeError: Cannot read properties of null (reading \'classList\')
    at show (weui.me.js:228:10)
    at HTMLButtonElement.onclick (zdzs.htm?name=1306:64:98)

浏览器错误信息

--  作者:ycs5801
--  发布时间:2023/12/17 16:45:00
--  
已解决。多写了个 e.WriteString(wb.Build)