which script block will display Hello Joe in the document window after you enter the name Joe?

Assuming the function <body onload="DisplayName()"> is called, which script block will displayHello Joe in the document window after you enter the name Joe?

Which line of code initializes the XMLHttpRequest object?

Consider the following code fragment, which sets up the retrieval of an XML document namedfish.xml and calls a function named showFish(): var xmlhttp = new XMLHttpRequest();xmlhttp.open("GET", "fish.xml", true); xmlhttp.onreadystatechange = showFish(); xmlhttp.send();Which […]

Which of the following demonstrate the correct syntax for the switch statement?

Which of the following demonstrate the correct syntax for the switch statement?

What is the expected result when you run this script in the browser?

Consider the following code: <script type="text/javascript"> var v1 = "alpha"; function f () { var v2 ="bravo"; alert (v1 + ", " + v2); } f(); v1="charlie"; alert (v1 + ", " + v2); </script> What is the expectedresult when […]

Which of the following is a valid variable name in JavaScript?

Which of the following is a valid variable name in JavaScript?

What basic code is needed to define a function in JavaScript?

What basic code is needed to define a function in JavaScript?

what is the purpose of the XMLHttpRequest object?

When using AJAX, what is the purpose of the XMLHttpRequest object?

Which statement will correctly call a JavaScript function without error?

Which statement will correctly call a JavaScript function without error?

Which of the following would properly supply the sum of the two numbers?

Consider only the following code:Which of the following would properly supply the sum of the two numbers?

Which is the best technique to test a script for cross-browser compatibility?

Which is the best technique to test a script for cross-browser compatibility?

Page 1 of 912345...Last »

Recent comments