not posiible
The prompt dialogue box is used to get user feedback and change the value accordingly in the paragraph. Try and use some other popup box like confirm or alert if you do not wish to replace the value in the body paragraph
You could use the prompt command in Javascript.
No. You can use Javascript for client side calculations
There are three Types of Dialog Boxes in JavaScript1. alert() : The simplest to direct output to a dialog box is to use the alert() method. The alert dialog box is used to display an alert message to the user.2. prompt() : The prompt() method dialog box allows the user the opportunity to enter information. It takes two parameters; a message and a default string for the text entry field.3. confirm() : The confirm dialog box returns a Boolean value based on the user's selection.
not posiible
The prompt dialogue box is used to get user feedback and change the value accordingly in the paragraph. Try and use some other popup box like confirm or alert if you do not wish to replace the value in the body paragraph
Pseudocode: function calculate() { var hours = prompt("Enter number of hours"); var rate = prompt("Enter rateper hour"); }
<script language="JavaScript"> <!-- var username = prompt("Enter Username In the Box Below","") var password = prompt("Enter Password In the Box Below","") if (username !="ADAM" password !="ADAM") { top.location="about:Bad Username and/or Password" } //--> </script>
Personally, I recommend you begin with 'alert' boxes and 'prompt' boxes, then move your way up to variables, until eventually you understand functions, arrays, etc. Then you will be able to create JavaScript masterpieces. You may also want to learn php once you've mastered JavaScript. Simple alert example: Lesson 1: alert boxes alert("This is an alert dialog box."); Body text. Have fun!
You could use the prompt command in Javascript.
Use confirm or alert in javascript code to get a popup
No. You can use Javascript for client side calculations
There are three Types of Dialog Boxes in JavaScript1. alert() : The simplest to direct output to a dialog box is to use the alert() method. The alert dialog box is used to display an alert message to the user.2. prompt() : The prompt() method dialog box allows the user the opportunity to enter information. It takes two parameters; a message and a default string for the text entry field.3. confirm() : The confirm dialog box returns a Boolean value based on the user's selection.
To get a working comment/feedback box, you will need to use the programming languages HTML and Javascript (javascript is widely used for forms)
There are a number of ways in which one can learn how to program the JavaScript confirm dialog box into their code. One way is by reading the relevant tutorials on the website JavaScript Kit.
code for opening the font dialog box using javascript