Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

href and onbeforeunload

 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

pls look at the code below.. i wonder why closeWin() is invoked when i click the link.. is it possible to avoid that ?




Thanks,
Rajeev.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to do something like this:



Eric
 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Eric

I think this is the best forum in javaranch. Its hard to find a single thread in this forum with out any replies from Eric or Bear.
Thanks a lot to both of you !!

cheers
Rajeev.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic