Chiyo wants to open a new window with JavaScript, but she repeatedly receives an error
message. She reviews her 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 Chiyo should rewrite this line of code so that no errors result
when it is executed?
A.
open(“http://www.prolific.com”,”ProWindow”,”toolbar=1
,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”, “ProWindow”,”toolbar = 1,location = 1,menubar = 1,scrollbars =
1,status = 1,resizable = 1 “);