PrepAway - Latest Free Exam Questions & Answers

Which one of the following choices shows how Sven should rewrite this line of code so that no errors result wh

Sven wants to open a new window with JavaScript, be he repeatedly receives an error message.
He reviews his code, as shown:
open (“http://www.prolific.com”, “Pro Window” , “toolbar = 1 ,location = 1 ,menubar = 1 ,
scrollbars = 1 ,status = 1 ,resizable = 1″);
Which one of the following choices shows how Sven should rewrite this line of code so that no
errors result when it is executed?

PrepAway - Latest Free Exam Questions & Answers

A.
open(“http://www.prolific.com”.”Pro Windows”.”toolbar=!
,location=1,menubar=1,scrollbars=1,status=1,resizable=1 “);

B.
open(“http://www.prolific.com”,”Pro Window “,”toolbar = 1,location =1,menubar = 1 ,scrollbars =
1,status = 1 ,resizable = 1″);

C.
open(“http://www.prolific.com”.”ProWindow
“,”toolbar=1,location=1,menubars=1,scrollbars=1,status=1,resizable=1 “);

D.
open (“http://www.prolific.com”, “ProWindows”,”toolbar = 1,location = 1,menubar = 1,scrollbars
=
1,status = 1,resizable = 1 “);


Leave a Reply