以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 移动submitAjaxForm,只想弹窗即可 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=101079) |
||||
-- 作者:zhangjian222200 -- 发布时间:2017/5/24 16:25:00 -- 移动submitAjaxForm,只想弹窗即可 弹窗提示后,跳转到per_jichu_fz.htm,页面一片空白,显示ok2字,而我只想弹窗即可 在per_jichu_fz.htm页面保存正常
js: function validit_per_jichu(){ var result = submitAjaxForm(\'form1\',\'\',false); if (result ==\'OK\') {show(\'dlg1\')} } per_jichu_fz.htm代码: Dim e As RequestEventArgs = args(0) Dim wb As New weui Dim drbianh As String = e.Cookies("isj") \'为cookie传递数据(从httprequest事件获取手机号,以备完善信息) Dim dr As DataRow = DataTables("会员资料").sqlFind("手机 = \'" & drbianh & "\'") Dim weixh As String = e.PostValues("wxzh") \'验证微信号 If dr IsNot Nothing Then dr("微信号") = e.PostValues("wxzh") \'测试代码:msgbox(e.PostValues("isr")) dr.save() e.WriteString("OK") Return "" End If e.WriteString(wb.Build) \'生成网页 per_jichu.htm代码:
截图
[此贴子已经被作者于2017/5/24 16:33:44编辑过]
|
||||
-- 作者:有点蓝 -- 发布时间:2017/5/24 16:46:00 -- .Add("btn1", "提交", "button").Attribute= "onclick=\'validit_per_jichu()\'" |