What will display after the following code is run if name = "Morris"?

```
if(name > "Joe")
document.write("Morris is a cat.");
else
document.write("Joe rules!");
```

a. Joe rules!
b. Morris is a cat.
c. Morris is a cat.Joe rules!
d. nothing – cannot compare these values


b. Morris is a cat.

Computer Science & Information Technology

You might also like to view...

The ____ Query Wizard is used to create a query that compares the records in two specified tables or recordsets, and finds all the records in one table or query that have no related records in a second table or query.

A. Find Unique B. Find Unrelated C. Find Duplicates D. Find Unmatched

Computer Science & Information Technology

Create a Scanner called input that reads values from the standard input.

Write declarations, statements or comments that accomplish each of the tasks.

Computer Science & Information Technology

The ________ event is triggered by a record being loaded into a form

A) On Enter B) On Open C) On Current D) After Update

Computer Science & Information Technology

You can use the properties of the ____ object to check whether a browser is compatible with standard DHTML.

A. Navigator B. Sniffer C. Checker D. Window

Computer Science & Information Technology