Foxtable(狐表)用户栏目专家坐堂 → 提交数据后,点按钮返回,电脑谷歌上调试可以,有的手机上不行


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

主题:提交数据后,点按钮返回,电脑谷歌上调试可以,有的手机上不行

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


加好友 发短信
等级:九尾狐 帖子:2355 积分:16187 威望:0 精华:0 注册:2013/9/1 8:09:00
提交数据后,点按钮返回,电脑谷歌上调试可以,有的手机上不行  发帖心情 Post By:2017/4/24 23:47:00 [只看该作者]

提交数据后,点按钮返回,电脑谷歌上调试可以,有的手机上不行。。。

 

Dim e As  RequestEventArgs = args(0)
       If e.PostValues.Count = 0 Then
            '开始正常生成网页内容
            wb.AddForm("","form1","a.htm")

            With wb.AddInputGroup("form1","ipg3","录入框")
                  .AddTextArea("txm",5)
            End With

            
            With wb.AddButtonGroup("form1","btg1",True)
                .Add("bc", "保存到后台", "submit")
            End With

            e.WriteString(wb.Build)
        Else

            With wb.AddButtonGroup("form1","btg2",True)
                .Add("jxpd", "继续", "button","a.htm")
            End With

            e.WriteString(wb.Build)
        End If

[此贴子已经被作者于2017/4/24 23:49:34编辑过]

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


加好友 发短信
等级:超级版主 帖子:13837 积分:69650 威望:0 精华:0 注册:2016/11/1 14:42:00
  发帖心情 Post By:2017/4/25 8:51:00 [只看该作者]

 什么手机浏览器不行?试试这样写代码

 

Select Case e.Path
    Case "a.htm"'
        Dim wb As new WeUI
        If e.PostValues.Count = 0 Then
            '开始正常生成网页内容
            wb.AddForm("","form1","/a.htm")
           
            With wb.AddInputGroup("form1","ipg3","录入框")
                .AddTextArea("txm",5)
            End With
           
           
            With wb.AddButtonGroup("form1","btg1",True)
                .Add("bc", "保存到后台", "submit")
            End With
           
            e.WriteString(wb.Build)
        Else
            wb.AddForm("","form1","/a.htm")           
            With wb.AddButtonGroup("form1","btg2",True)
                .Add("jxpd", "继续", "button","a.htm")
            End With
            e.WriteString(wb.Build)
        End If
End Select


 回到顶部