answersLogoWhite

0

What else can I help you with?

Related Questions

How do I put a dropdown list inside a prompt box using Javascript?

not posiible


When writing prompt box by using javascript the paragraph on the body tag is replaced by the value of the prompt how to solve this?

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


How do you write and debug an HTML document with a javascript function named calculate that uses a prompt dialog box to read a number of hours worked and a prompt dialog box to read the rateper hour?

Pseudocode: function calculate() { var hours = prompt("Enter number of hours"); var rate = prompt("Enter rateper hour"); }


How much is McDonald's fries in Canada?

<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>


What are some simple JavaScript programs a total newbie could create?

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!


What control and method provides a simple way to gather input from the user at runtime without placing a text box on a form?

You could use the prompt command in Javascript.


How do you get the popup javascript box?

Use confirm or alert in javascript code to get a popup


Is there any way to declare and use variables in HTML As in being able to type a number into a text box and having html calculate the answer?

No. You can use Javascript for client side calculations


What are different dialog boxes in JavaScript?

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.


How do you get a working comment box on your website?

To get a working comment/feedback box, you will need to use the programming languages HTML and Javascript (javascript is widely used for forms)


How can one learn how to program the JavaScript confirm dialog box into their code?

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.


How do you open the dialog box?

code for opening the font dialog box using javascript