Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

yahoo UI event help

 
krupa shah
Greenhorn
Posts: 1
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic