Methods operate on _________ instances of objects.
Consider the following HTML:
Which method of the String object is used to write the JavaScript equivalent to this HTML?
The specific color, width or height that belongs to a property of an object is held by what?
Which property of the form object describes the URL to which the form data is submitted?
Which one of the following choices best describes a fundamental problem with JavaScript Web sites?
Consider the following HTML:
<|>|>
Which method of the String object is used to write the JavaScript equivalent to this HTML?
function empObject(name, age, department) {
this.name = name;
this.age = age;
this.department = department;
this.showOne = showOne;
}
The code above Defines a constructor function for a custom object named empObject. It contains three properties: name, age, and department. It contains one method: showOne
A function that defines methods and properties of a custom object used as a template for instances of the custom object is a _______________
Sasha needs to display quotation marks for a greeting on the corporate Web page. She adds the quotation marks to the JavaScript as follows:
var questions = new Array(2)
questions[0] = “What is the capital of the USA?”;
questions[1] = “Who is the company “President”?”;
questions[2] = “Who is the company “Vice-President”?”;
When Sasha runs the code, however, the quotation marks do not appear around the words “President” and “Vice-President”
Which of the following choices shows how Sasha should rewrite the code to make the script execute properly?
When using frames, where should functions and variables be stored in a JavaScript-based Web site?