js部分:存在在c:\web\lib\下
function jygqcrsfx(){
location="jygqcrstjfx.htm?xq=" + table1.rows[table1.rowSel].cells[0]+ "&xx=" + table1.rows[table1.rowSel].cells[2];
}
代码部分
With wb.AddActionSheet("","menu") '设计菜单
.Add("bjrs", "班级人数").attribute="onc/ick=""location='jygqcrsfx()'"
.Add("mnuload", "下载表格").Attribute="onc/ick=""location='../tb/tb" & e.Cookies("userdw") & "统表.xls'"""
.Add("mnuCancel","取消","",True)
End With
wb.InsertHTML("<div style='width:100%; overflow-x:auto;'>")
With wb.AddTable("","Table1")
.attribute ="style = 'border:1px solid black;text-align:center;vertical-align:middle;white-space:nowrap;font-size:16px;padding:5px;'"
.ActiveSheet = "menu"
.Primarykey = "学校名称"
.CreateFromDataTable(dt1,True)
End With
wb.InsertHTML("<image src= '../tubiao/back.png' style='position:fixed;left:20px;bottom:20px;z-index:5;height:35px;width:35px;' ></image>")
wb.InsertHTML("</div")
wb.AppendHTML("<script src='../lib/order.js'></script>")
请问老师按上面做不能跳转是什么原因,请帮研究下,谢谢
[此贴子已经被作者于2020/9/16 7:17:36编辑过]