What is wrong with the following alert box?

 alert("Hello<br>", "world!<br>"); 

Create a JavaScript program that produces the previous alert box. When the alert dialog box appears, what does the program do?


What is the return value of the prompt method if the user doesn't enter anything? Where is the return value stored?


Create a JavaScript program that prompts the user for a phone number and then asks him for confirmation.

JavaScript by Example
JavaScript by Example (2nd Edition)
ISBN: 0137054890
EAN: 2147483647
Year: 2003
Pages: 150
Authors: Ellie Quigley

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net