数据是放到数组里的。
代码如下:
If 内容数组[5] = "是"
#icon("@res:m9t2n9t2-p76c-nihr-1edm-71gfin5p5pj5.png")
UiElement.SetCheck({"html":[{"parentid":"divquestion6","tag":"A"}],"wnd":[{"app":"iexplore","cls":"IEFrame","title":"*"},{"cls":"Internet Explorer_Server"}]},true,{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200})
Else
#icon("@res:sufj8old-8ra9-tmft-pcfh-vneoaj2ujor2.png")
UiElement.SetCheck({"html":[{"idx":1,"parentid":"divquestion6","tag":"A"}],"wnd":[{"app":"iexplore","cls":"IEFrame","title":"*"},{"cls":"Internet Explorer_Server"}]},true,{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200})
End If
If 内容数组[6] = "是"
#icon("@res:sv1ufc88-3jvp-02s6-648k-2l3c9tujnalk.png")
UiElement.SetCheck({"html":[{"parentid":"divquestion7","tag":"A"}],"wnd":[{"app":"iexplore","cls":"IEFrame","title":"*"},{"cls":"Internet Explorer_Server"}]},true,{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200})
Else
#icon("@res:3nhorjn7-o03v-lphd-lsor-manbcdqr06sn.png")
UiElement.SetCheck({"html":[{"idx":1,"parentid":"divquestion7","tag":"A"}],"wnd":[{"app":"iexplore","cls":"IEFrame","title":"*"},{"cls":"Internet Explorer_Server"}]},true,{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200})
End If
在网页执行时,不进行勾选,也不报错。