Consider the following JavaScript code:
“parent.twoframes.frames[1].location.href = “new.htm”
Where does this code place the file new.htm in a three-frame browser window?
To instantiate new instances of an object you need the new keyword, the function name, and a list of values.
Language objects are named with a capital letter. Since JavaScript is case sensitive, using lower case to refer to one of these objects will cause an error.
A _______ is the specific color, width or height that belongs to the property of an object.
VBScript and _____________ are scripting languages that are similar in purpose. Both extend the capabilities of static Web pages.
_______ represent various attributes of an object, such as height, color, font size, sentence length, and so forth.
Which one of the following is a descriptive characteristic of an object, such as color, width or height?
Which property of the location object specifies whether HTTP or FTP is being used?
Wilhelm is creating a Web page using JavaScript. He wants to set a cookie with each site visitor so that his Web server can recognize visitors on subsequent visits for one month.
Which one of the following choices contains the elements required in this cookie?
The following are both advantages of creating user defined objects in JavaScript:
1. You can create sophisticated solutions with a minimum of coding.
2. You can represent programming constructs as objects (which allows you to code efficient schemes for evaluating forms or creating client-side databases).
When using frames, where should functions and variables be stored in a JavaScript-based Web site?
Which of the following is the JavaScript's server-side solution that enables you to connect Web pages to databases, as well as enable server-side image maps and save client state so that the computer will remember where the client is in a multi-page preocess.
The name=value pair is the only information required to generate a cookie. All other parameters are optional.
JavaScript offer a predefined method for determining when you should use custom objects instead of arrays for your programs.
Nadir wants to add JavaScript to the company Web site. He wants to reference the value that is entered into the following form field:
Which line of JavaScript code should Nadir use to refer to the value in the form field?Which property of the form object describes the URL to which the form data is submitted?
Which is the JavaScript property that is used to inform a script that an image has finished loading?
What will the following code cause to happen on Mouseover?
<a href="javascript:linksFun();"
onMouseOver="status='Related Links';return true;"
onMouseOut="status='';return true;">Related Links
Which of the following is the JavaScript string object special character to insert a new line?
Consider the following script:
<SCRIPT>
<!--
var name;
name=prompt("What is your name?" , "");
alert("Hello, " + name +".");
// -->
</SCRIPT>
What does this script do in terms of the use of the variable "name"?
Once the constructor is defined, you need to create new instances of the object. This process is called ___________.
The button object is the simplest of all objects. Its main event handler is __________.
Placing / in front of a line of text, within the Script tags will result in ______________
An Instance is the term for the real-time objects that are generated from the empty constructor template?