User input : Dialog « Window Browser « JavaScript DHTML

JavaScript DHTML
1. Ajax Layer
2. Data Type
3. Date Time
4. Development
5. Document
6. Event
7. Event onMethod
8. Form Control
9. GUI Components
10. HTML
11. Javascript Collections
12. Javascript Objects
13. Language Basics
14. Node Operation
15. Object Oriented
16. Page Components
17. Security
18. Style Layout
19. Table
20. Utilities
21. Window Browser
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
JavaScript DHTML » Window Browser » Dialog 
User input

<HTML>
<HEAD>
<SCRIPT LANGUAGE = "JavaScript">
     function showBox() {
             userText = prompt("Enter the text for your personalized browser window.","My own browser text");
           if (userText != null) {
              userWindow = window.open("""userTextWindow""toolbar=0");
              userWindow.document.write("<h1>" + userText + "</h1>") };
     }
</SCRIPT>
<BODY>
<FORM>
<INPUT Type="button" Value="Create Your Own HTML Page" OnClick="showBox()"
</INPUT>
</FORM>
</BODY>


           
       
Related examples in the same category
1. Displays and monitors the most used dialog boxes
2. Dialog in JavaScript
3. Open a dialog window
4.  String Object's Length, Document.Location Properties, confirm and input dialog
5.  Working with the Alert, Confirm, and Prompt Methods
6. Alert box (dialog) with line-breaks
7. Button click to display dialog
8. Pop-up Window - centred
9. Display a confirm box (dialog)
10. Display a prompt box (dialog)
11. Confirm Dialog Box
12. The Prompt Dialog Box: check the return result
13. Document for the Modeless Dialog Box
14. Use prompt for password checking
15. Yes/No Confirmation
16. Non string parameter for alert()
17. Dialog Box Demo
18. Alert Window
19. Main Page for show Modeless Dialog
20. Document for the Modal Dialog
21. Main Page for show Modal Dialog
22. Create a pop-up
23. Alert Dialog
24. Prompt Input Dialog
ww___w.__j___a___v___a___2__s___.__co___m__ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.