以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  点击AddVcodeButton能转到指定网址吗  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=172801)

--  作者:fivetable
--  发布时间:2021/11/1 11:21:00
--  点击AddVcodeButton能转到指定网址吗
With .AddInputCell("ic1")
.AddLabel("lbh",
"
编号",0)
.AddInput("number","text",1)
 .AddVcodeButton("scan","扫码输入",2).Attribute= "onclick=http://www.foxtable.com"
End With

点扫码输入后,要转到指定网址上去,上面代码无效。
请问蓝版,要点击 .AddVcodeButton  按钮后转到指定网址的代码怎么写?

--  作者:有点蓝
--  发布时间:2021/11/1 11:26:00
--  
 .AddVcodeButton("scan","扫码输入",2).Attribute= "onclick=""location=\'http://www.foxtable.com\'"""
--  作者:fivetable
--  发布时间:2021/11/1 11:47:00
--  
谢谢蓝版!