Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

to execute a task before alert message is fired...  RSS feed

Kruger Brent
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
Is it possible to execute a task whenever an alert message is displayed in the browser? This is with regard to a situation where there is an applet running in an invisible frame, having the responsiblity of storing all the alert messages that is fired to the visitor irrespective of webpage that is being seen.
Meaning that there is a javascript function in the applet's html page which has to be called before display of alert box, passing the alert message as a parameter to the script function which in turn communicates with the applet.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!