This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

yahoo UI event help  RSS feed

 
krupa shah
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

i use Yahoo UI Event utility
my application has a default index.jsp but if i give parameters in the URL it takes me to that respective page.
My requiremnt is to get the default index.jsp page on click of refresh button of brpwser

i use the following code
YAHOO.util.Event.addListener(window,'beforeunload',function(e){
e.returnValue = "Are you sure you want to leave or reload Service Navigator?";
});

Can someone help me by telling what can i do to achieve this.

Awaiting your response

thanks,
Krupa Shah
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!