以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]GetValues显示不出来  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=162134)

--  作者:fczhaobo
--  发布时间:2021/4/6 21:53:00
--  [求助]GetValues显示不出来
GetValues就是显示不出来

*********/tuanbao.htm?jsbh=yfsh0083

Dim e As RequestEventArgs = args(0)
Dim wb As new weui

If e.GetValues.ContainsKey("jsbh")  Then
    \'调试用弹出对话框
    wb.AppendHTML("<script> alert(\' ""一 " &  e.GetValues("jsbh")  &  " + " & e.Cookies("openid") & " \');</script>")
    wb.AppendCookie("jsbh",e.GetValues("jsbh"))  \'标记储存出教师编号
Else
    With wb.AddMsgPage("","msgpage","非正常来源的网页链接,失效","如有疑问请联系逸飞书画学校!")
        .icon = "Warn" \'改变图标
        .AddButton("btn1","请关闭网页").Attribute = ""
    End With
    e.WriteString(wb.Build)
    Return "" \'必须返回
End If
[此贴子已经被作者于2021/4/6 21:53:46编辑过]

--  作者:有点蓝
--  发布时间:2021/4/6 22:07:00
--  
这种问题到开发者工具里调试看看就知道了

wb.AppendHTML("<script> alert(\'一 " &  e.GetValues("jsbh")  &  " + " & e.Cookies("openid") & " \');</script>")
--  作者:fczhaobo
--  发布时间:2021/4/6 22:09:00
--  
还是不行,怎么着就是出不来呢,还请您细说一下吧,现在找开发工具来不及的图片点击可在新窗口打开查看
--  作者:有点蓝
--  发布时间:2021/4/6 22:15:00
--  
https://www.baidu.com/baidu?word=%E6%B5%8F%E8%A7%88%E5%99%A8%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7
--  作者:fczhaobo
--  发布时间:2021/4/7 6:58:00
--  
现在的问题是,安卓的手机没有任何问题,个别苹果的手机不行,就是提不出getvalues来


--  作者:有点蓝
--  发布时间:2021/4/7 8:41:00
--  
调试看看

Dim e As RequestEventArgs = args(0)
msgbox(e.Request.URL.ToString
Dim wb As new weui
msgbox(e.GetValues.ContainsKey("jsbh")) 
If e.GetValues.ContainsKey("jsbh")  Then
msgbox(e.GetValues("jsbh"))