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?
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 “);