• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

href confirmation

 
Art Vandelay
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an html link element, on which the user can clock to log out. But i would like to show a confirmation before going on to the referenced link. The '${logout}' is a request attribute containing the link.

After clicking on the link, no confirmation is shown, but the link is directly opened. Any idea why no confirmation is shown?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Working for me--what browser are you using?

Why wouldn't you just use:
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34860
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dpoes your browser show a JavaScript error if you look at the error console?
 
Art Vandelay
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:Working for me--what browser are you using?

Why wouldn't you just use:

Thanks, this solved my problem!

btw. i am using firefox 3.5 and also tested it on IE 7, works in both.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic