Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pop up window

 
Chitti pokala
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basic idea:

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

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic