Which of the following commands should be used by Ashton to allow a visitor to add their personal details using a dialog box on the website?
A. alert(text[,defaultInput])
B. prompt(text[,defaultInput])
C. confirm (text[,defaultInput])
D. print(text[,defaultInput])
Answer: B
Computer Science & Information Technology
You might also like to view...
Computers store information in ________ (Base 2), which is difficult, if not impossible for humans to read
Fill in the blank(s) with correct word
Computer Science & Information Technology
All of the following could set up an e-mail account EXCEPT ____.
A. your employer B. your school C. Google's Gmail D. Windows Explorer
Computer Science & Information Technology
What does the following code do? Assume this method is invoked by using Mystery ( 70, 80 ).
double dblY; intX = intNumber1 + intNumber2; dblY = intX / 2; if ( dblY <= 60 ) { lblResult.Text = "<= 60 "; } else { lblResult.Text = " Result is " + dblY; } } // end method Mystery
Computer Science & Information Technology
?For the creation of a _____, percentages can be used to measure the width of each column in a webpage.
A. ?fluid layout B. ?fixed layout C. ?static layout D. ?closed layout
Computer Science & Information Technology