File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dialog box

 
Kinga Cserveny
Greenhorn
Posts: 18
  • 0
  • 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: 13048
6
  • 0
  • 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: 1510
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic