• Post Reply Bookmark Topic Watch Topic
  • New Topic

pop up window  RSS feed

 
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......
 
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basic idea:

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

Eric
 
What could go wrong in a swell place like "The Evil Eye"? Or with this tiny ad?
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!