This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes yahoo UI event help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "yahoo UI event help " Watch "yahoo UI event help " New topic
Author

yahoo UI event help

krupa shah
Greenhorn

Joined: Dec 11, 2007
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: yahoo UI event help
 
Similar Threads
How to login on my site when user is already logged in in Yahoo mail ?
how to display directly
How to generate Token Manually in a JSP
Pagination
Adding an Ajax / JS front end to Struts