Results 1 to 8 of 8
  1. #1
    Senior Member
    Join Date
    Apr 2015
    Posts
    134

    Lightbulb What is a prompt box ?

    Anyone please tell and discuss about the prompt box in UIdesigning process !

  2. #2
    Junior Member
    Join Date
    Aug 2017
    Posts
    19
    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.

  3. #3
    Senior Member
    Join Date
    Sep 2017
    Posts
    227
    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.

  4. #4
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    3,627
    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>

  5. #5
    Registered User
    Join Date
    Sep 2017
    Posts
    1,192
    prompt box - a booth projecting above the floor in the front of a stage where the prompter sits; opens toward the performers on stage.

  6. #6
    Member
    Join Date
    Jul 2018
    Location
    Delhi
    Posts
    90
    A confirmation dialog is a dialog box that asks the user to approve requested operation also called the prompt box.

  7. #7
    Senior Member
    Join Date
    Mar 2018
    Location
    Delhi
    Posts
    284
    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.

  8. #8
    Registered User
    Join Date
    Sep 2018
    Location
    Bangladesh
    Posts
    23
    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");

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.