This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes pop up window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "pop up window" Watch "pop up window" New topic
Author

pop up window

Chitti pokala
Ranch Hand

Joined: Jan 11, 2005
Posts: 46
Hi,
I have a button on the popup window, if I click the button it should close that popup window and open a alert message. How to do it, can you please tell me..........

Thanks......
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Basic idea:

onclick="alert('blah');self.close()"

Eric
 
Consider Paul's rocket mass heater.
 
subject: pop up window