例如
With wb.AddArticle("","ar1")
.AddTitle("h1","ECharts测试")
.AddTitle("h2","1. 条形图")
.AddContent("<div id=""main1"" style=""width: 600px;height:400px;""></div>")
.AddTitle("h2","2. 地图")
.AddContent("<div id=""main2"" style=""width: 600px;height:400px;""></div>")
End With
dim t2 as string = "1"
wb.AppendHTML("<script >var mytype = " & t2 & ";</script>",true)
wb.AppendHTML("<script src='./lib/map.js'></script>")
js文件
$.get('EGetYjcl.htm?type=' + mytype).done(function (jsonstr) {