View Full Version : What is a prompt box ?
Sankara Vignesh
09-07-2017, 06:38 AM
Anyone please tell and discuss about the prompt box in UIdesigning process !
myhealth
09-07-2017, 08:28 AM
Prompt Box. A prompt box is often used if you want the user to input a value before entering a page. When a prompt box pops up, the user will have to click either "OK" or "Cancel" to proceed after entering an input value.
mvminfotechseo
09-07-2017, 08:34 AM
The prompt() method displays a dialog box that prompts the visitor for input. A prompt box is often used if you want the user to input a value before entering a page. Note: When a prompt box pops up, the user will have to click either "OK" or "Cancel" to proceed after entering an input value.
dennis123
09-28-2017, 08:26 AM
Prompt() is a method of the window object.
It is similar with alert box except for one addition.
Prompt Box have “Cancle Button” on the pop up window.
Prompt Box have “textbox” , which allows user to enter value.
<html>
<head>
<script type="text/javascript">
function show_prompt()
{
var name=prompt("Please enter your name","Pritesh");
if(name!=null && name!="")
{
document.write("<p>Hello " + name + "</p>");
}
}
</script>
</head>
<body>
<input type="button"
onclick="show_prompt()"
value="Show prompt box"/>
</body>
</html>
davidsmith21
08-17-2018, 03:26 AM
prompt box - a booth projecting above the floor in the front of a stage where the prompter sits; opens toward the performers on stage.
Anamika
08-17-2018, 08:46 AM
A confirmation dialog is a dialog box that asks the user to approve requested operation also called the prompt box.
GuruJi
08-18-2018, 05:15 AM
Prompt box means to need to need the user confirmation or input for performing the specific task. For example when you are installing any software and click on the install button and a dialog box is open and ask you for your confirmation.
sadia
09-19-2018, 11:42 AM
A prompt box is used to get data from the user. A prompt box will appear with an "OK" button and a "Cancel" button. Different actions will occur depending on what button the user clicks. If the user clicks the "OK" button, the value entered into the prompt box will be set. If the user clicks the "Cancel" button, a null value (empty string) will be set, or a default value if you set it as the second argument in the function.
A prompt box can be displayed using Javascript's prompt() function.
Syntax:
prompt("Text to display in the prompt box, "Default value");
Powered by vBulletin® Version 4.2.4 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.