简体   繁体   中英

how to auto click dhtml modal dialog window button using javascript?

iframe中有一个dhtml模态对话框,现在有一个Button我想使用JavaScriptasp.net自动单击该按钮

If the "dhtml modal dialog box" is a standard browser alert initiated by JavaScript, then you can't programmatically click it using JavaScript.

Your best bet would be to use a custom dialog box.

Related Articles:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM