March 17, 2009 at 2:25 AM
Hi friend,
Code to help in solving the problem :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<script language="JavaScript" type="text/javascript">
<!--
IE4 = document.all;
function newConfirm(title,mess,icon,defbut,mods) {
if (IE4) {
icon = (icon==0) ? 0 : 2;
defbut = (defbut==0) ? 0 : 1;
retVal = makeMsgBox(title,mess,icon,4,defbut,mods);
retVal = (retVal==6);
}
else {
retVal = confirm(mess);
}
return retVal;
}
//-->
</script>
<SCRIPT LANGUAGE="VBScript">
<!--
Function makeMsgBox(title,mess,icon,buts,defbut,mods)
butVal = buts + (icon*16) + (defbut*256) + (mods*4096)
makeMsgBox = MsgBox(mess,butVal,title)
End Function
-->
</SCRIPT>
<script language="JavaScript" type="text/javascript">
function showConfirm() {
myBooleanVariable = newConfirm(
'My Confirm Title',
'My Confirm Message',
2,0,0)
if (retVal==true) return true;
else{
location.href='blah2.htm';
return false;
}
}
//-->
</script>
</head>
<body>
<a href="blah.htm" onClick="return showConfirm()">click</a>
</body>
</html>
Thanks
Related Tutorials/Questions & Answers:
confirm message box - Java Beginnersconfirm message box How can I create a
confirm message with Yes...
function showConfirm() {
myBooleanVariable = newConfirm(
'My
Confirm Title',
'My
Confirm Message',
2,0,0)
if (retVal==true) return true;
else
Show message and confirm dialog box
Show
Message and
Confirm Dialog
Box - Swing Dialogs... on the third button from the main window
or frame then a
confirm message dialog
box... types of
message box. There are three types of
message dialog
box that you can
Advertisements
Servlets and confirm boxServlets and
confirm box Sir...! I want to insert or delete records form oracle based on the value of
confirm box can you please give me the idea.... thanks
Servlets and confirm boxServlets and
confirm box Sir...! I want to insert or delete records form oracle based on the value of
confirm box can you please give me the idea.... thanks
Servlets and confirm boxServlets and
confirm box Sir...! I want to insert or delete records form oracle based on the value of
confirm box can you please give me the idea.... thanks
message boxmessage box How to show the
message "invalid username and password" after redirecting the page to the login form
Yes/No confirm box with vbscript - FrameworkYes/No
confirm box with vbscript I'm using a Yes/No confirmation with vbscript. But the in the
confirm box, the titiel is coming along...('This is the
message, with custom options
Message Box Java Message and
Confirm Dialog
Box - Swing Dialogs
Show input dialog
box...In this section we will create a
message box in Java using a Java API class. A certain
message, warning or information can be displayed in this
message
box Changing the message box to a specific colorChanging the
message box to a specific color How do you change the
message box color to a specific color?
I can get the color to change with each... the
message box to red but its not really working. Can you help me
Java Message Box - Java BeginnersJava
Message Box I want to display the variable value in
message box...);
But the
message box display nothing. Is there any way to display the value of s in
message box.
Please help me as soon as possible. Hi
Java Message BoxJava
Message Box
In this tutorials you will learn about how to create
Message Box in Java.
Java API provide a class to create a
message Box in java. By
message box we mean
a
box in which
message is displayed or a
box from which input
input ang message box - Java Beginners Boxes. Show the result with
Message Dialog Boxes. Set the
Message Dialog
Box Type to Information
Message. Hi Friend,
Try the following code:
import...input ang
message box can you help me to calculates for the sum
how do you change the message box to a specific colorhow do you change the
message box to a specific color How do you change the
message box color to a specific color? I can get the color to change... the
message box to red but its not really working. Can you help me
Show Dialog Box in Java;
Message dialog
box is used to display informative...
the
message Dialog
box. Our program display "Click Me" button on the
window and when user clicks on it program displays
Message box with
"OK"
javascript confirm yes no confirm dialog
box yes or no in JavaScript?
if (
confirm('Are You...
There is
confirm Box popup in JavaScript that can be used to get confirmation from user... be two options in
confirm box "ok" and "cancel". or may be yes or no.
Syntax
Flex Alert Box example Flex Alert
Box example
Alert
box is a dialog
box that appears on window with some
message and stays
rigid until the event associated with it is not done. Alert
Confirm problemConfirm problem Sir
i have used following code in button delete
onclick="if (
confirm('sure?')) submit();"
and if i choose cancel it still submits the form however if choose cancel i want to remain on same jsp page
please help
Java Alert Box JOptionPane class to
display the
message alert
box. JOptionPane class is available...Java Alert
Box
In this example we will describe java alert
box. First of all we have created
class than main method after that we have created alert
box confirm deleteconfirm delete Sir,
I want to ask confirmation before deletion, i m using submit button then the form is passed to servlet for deletion,Please help
Thanks in advance
ModuleNotFoundError: No module named 'confirm'ModuleNotFoundError: No module named '
confirm' Hi,
My Python... '
confirm'
How to remove the ModuleNotFoundError: No module named '
confirm... to install padas library.
You can install
confirm python with following command
difference between $message and $$messagedifference between $
message and $$message What is the difference between $
message and $$
message?
Hi friends,
$
message is a simple variable whereas $$
message is a reference variable.
Example:
$name = 'Bharat
Display alert box on clicking linkDisplay alert
box on clicking link
In this tutorial, we will display alert
box to prompt
message using jQuery.
In the below program , html page contains a "a href" link. On clicking
this link ,a alert
box prompt
message Hollow BoxHollow Box Write an application program that will draw a hollow
box (a
box with empty space in between). The program will ask the user to key in a whole number larger or equals to 5. An error
message would appear if the user
ModuleNotFoundError: No module named 'box-box'ModuleNotFoundError: No module named '
box-
box' Hi,
My Python program is throwing following error:
ModuleNotFoundError: No module named '
box-
box'
How to remove the ModuleNotFoundError: No module named '
box-
box ModuleNotFoundError: No module named 'box-box'ModuleNotFoundError: No module named '
box-
box' Hi,
My Python program is throwing following error:
ModuleNotFoundError: No module named '
box-
box'
How to remove the ModuleNotFoundError: No module named '
box-
box msg box in jspmsg
box in jsp i need the source code to display the msgbox in jsp....but one condition is,i need to use it in the current page itself...now i use the
message box means it prints it into another page...i need to resolve it plz
Popup dialog box in java dialogs-user can customize dialog
box.
Here is a simple popup
message dialog
box...Popup dialog
box in java How to display popup dialog
box in java?
Dialog
Box- A dialog
box is an independent small window which appear
input box input box give me the code of input
box in core java
input box input box give me the code of input
box in core java
Helps with combo box and frame..) ,
confirm button and cancel button at bottom of the frame.
When i put something on the second window and click
confirm i would have the information on the combo
box.
i...Helps with combo
box and frame Hi
i have a combobox and when i click
select box and text box validationsselect
box and text
box validations hi,
any one please tell me how to set validations for select
box and text boxes using bean classes?
thank you
Please visit the following link:
http://www.roseindia.net/jsp/user
Objective C Message PassingObjective C
Message Passing What exactly a
message passing means in Objective C? and how can i pass a
message to a method
alert box in iphonealert
box in iphone hello,
how can i show alert
box in my iphone application??
hello,ADS_TO_REPLACE_1
you can use this code for show..."
message: @"Any massege" delegate: self cancelButtonTitle: @"Ok" otherButtonTitles
Message Context in AXISMessage Context in AXIS Is there any method in Axis classes to het the size of IN and OUT
Message Conetext
ModuleNotFoundError: No module named 'message'ModuleNotFoundError: No module named '
message' Hi,
My Python... '
message'
How to remove the ModuleNotFoundError: No module named '
message... to install padas library.
You can install
message python with following command
dropdown boxdropdown box i need to have country,state and city in drop down
box using ajax and use db2 database
Have a look at the following link:
JSP dependent dropdown