aspose file tools
The moose likes JSP and the fly likes dialog box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "dialog box" Watch "dialog box" New topic

dialog box

Kinga Cserveny

Joined: Aug 29, 2001
Posts: 18
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

Joined: Mar 22, 2000
Posts: 12912
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.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
You can try a JavaScript's comfirm() dialog box. It gives you both ok and cancel buttons

So much trouble in the world -- Bob Marley
Consider Paul's rocket mass heater.
subject: dialog box