开发者

Not fire button event after attribut adding window open, how to trigger both?

button1.attributes.add("onclick", "window.open(....)")

button_cli开发者_开发技巧ck(object sender, eventargs e) not run

How to make button click trigger when opening a new window?


call like this...dont call the window.open directly

button1.attributes.add("onclick", "openwindow()")

function openwindow() {
   window.open(....);
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜