Results 1 to 8 of 8
  1. #1

  2. #2
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    3,627
    A prompt box is a pop up box that allows the user to enter the required inputs. This is done by providing a text box. The prompt box can also have the OK and the cancel button to proceed with the input entered so as to execute the action.

  3. #3
    Registered User
    Join Date
    Feb 2017
    Posts
    754
    Prompt box is a box which is often used if the site owners want the user to input a value before entering a web page or website.

  4. #4
    Registered User
    Join Date
    Mar 2019
    Location
    Ahmedabad
    Posts
    180
    • The prompt() method displays a dialog box that prompts the visitor for input.
    • A prompt box is often when we 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.If the user clicks "OK" the box returns the input value. If the user clicks "Cancel" the box returns null.

    Example::
    HTML Code:
    <html>
       <head>     
          <script type = "text/javascript">
             
                function getValue() {
                   var retVal = prompt("Enter your name : ", "your name here");
                   document.write("Hi : " + retVal);
                }
     
          </script>      
       </head>
       
       <body>
          <p>Click  to see the result: </p>      
          <form>
             <input type = "button" value = "Click Me" onclick = "getValue();" />
          </form>      
       </body>
    </html>

  5. #5
    Registered User
    Join Date
    Jul 2019
    Posts
    114
    A prompt box is a box that is often used if the site owners want the user to input a value before entering a web page or website.

  6. #6
    Registered User
    Join Date
    Aug 2019
    Location
    USA
    Posts
    42
    The prompt () method displays a dialog box asking the visitor for input. The prompt box is often used if you want users to enter values ​​before entering the page. Note: When the prompt box appears, the user must click "OK" or "Cancel" to continue after entering the input value.

  7. #7
    Senior Member
    Join Date
    Jun 2013
    Location
    Forum
    Posts
    5,019
    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.
    Cheap VPS | $1 VPS Hosting
    Windows VPS Hosting | Windows with Remote Desktop
    Cheap Dedicated Server | Free IPMI Setup

  8. #8
    Member
    Join Date
    Aug 2019
    Posts
    50
    A prompt box is a pop-up box that allows the user to enter the required inputs. This is done by providing a text box. The prompt box can also have the OK and the cancel button to proceed with the input entered so as to execute the action.

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.