Case "addnewkh.htm" \'新增客户信息
wb.AddForm("","khform1","handlekh.htm") \'指定接收表单数据的的页面为handlekh.htm
With wb.AddInputGroup("khform1","ipg1","新增客户")
.AddInput("客户名称","客户名称","text")
.AddInput("联系手机","联系手机","text")
.AddInput("联系地址","联系地址","text")
End With
With wb.AddButtonGroup("khform1","btg1",False)
.Add("btn1", "确定", "button").Attribute= ""
.Add("btn2", "取消", "button").Attribute= ""
End With
With wb.AddDialog("","dlg1", "提示","增加订单成功,是否继续增加?") \'增加订单成功提示框
.AddButton("btnYes","是").Attribute = ""
.AddButton("btnNo","否","default.htm")
.Attribute="""
\'wb.InsertHTML("<script>document.getElementById(\'page3_btn\').click();</script>")
\'wb.AppendHTML("<script>hide(\'page2\');show(\'page3\')</script>")
End With