javascript - Clicking OK in a prompt -


i know how create alerts , confirm boxes, cannot find out how do actual clicking of ok. have page pops confirm box. i want click ok using java script add-on. basically, want code click link on page, click ok when prompted. possible?

that's not possible browser pop-up.

however if it's modal dialog sits within dom of page, can trigger javascript event close it. example of such dialog jquery's dialog.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -