老师,参考http://www.foxtable.com/mobilehelp/topics/0101.htm制作的页面Dim res As String = "客户名称:" & kh & "<p/>客户类型:" & khlx]
e.WriteString("QR" & res) '返回确认
Return ""
麻烦问一下,如何做到点击下图“是”服务器继续执行以后代码:
此主题相关图片如下:微信截图_20220928223301.png
也就是,有选择执行:
With wb.AddDialog("", "dlg1", "再次确认", "") '登记失败提示框
.AddButton("btnOK", "是").Kind = 1 '代码怎么设置
.AddButton("btnOK", "否")
End With
js代码:
function myfunction(){
var result = submitAjaxForm('form1','',false);
if (result.substring(0,2) =='OK') {
{showDialog('dlg2','提示',result.substring(2))}
}
else if (result.substring(0,2) =='QR')
{
{showDialog('dlg1','再次确认',result.substring(2))}
}
else {showDialog('dlg2','错误',result)}
}
[此贴子已经被作者于2022/9/29 5:57:17编辑过]