• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

exit problem

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sir like when i click the log out button of my web page then it prompts with a message.............
1)i like to change the displayed message
2)if i click on no then it get me to the same page but now it is showing me the url........http://localhost:8080/screen2_redirect.jsp?log_out=Log+Out
and it is showingmw the blank screen........

plz tell me that how tocome out of it..
thank you
gaurav
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am assuming you want to use the confirm....

You can not change the buttons on it, you have to deal with ok and cancel. If you do not want this, why don't you just redrect them to a page that has a form with yes and no buttons?

To use the cofirm, all you would need to do is this for a link

<a href="yourLink.html" onclick="return confirm('Are you sure')">Log out</a>

Eric
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic