• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dialog box

 
Kinga Cserveny
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to put a short java script into my java code that will load a dialog box with a continue and a cancel button. Can anyone help me? I only know of the javascript:alert which puts an ok button on the dialog box. But I need a cancel button too.
Thanks for your help...
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should ask that question in the HTML and JavaScript forum. JSP = JavaServer Pages - which is a separate technology that runs only on the server side.
Bill
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try a JavaScript's comfirm() dialog box. It gives you both ok and cancel buttons
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic