Author Question: What does the srcElement event property contain? (a) A reference to the source code of an ... (Read 15 times)

mcmcdaniel

  • Hero Member
  • *****
  • Posts: 550
What does the srcElement event property contain?
 
  (a) A reference to the source code of an element.
  (b) A reference to the element that fired the event.
  (c) A reference to the source code of an image.
  (d) A reference to the name of the event that fired.

Question 2

If you used the ONMOUSEMOVE event to capture mouse events over an image, which of the following event properties would you use to capture the location of the mouse cursor relative to the image boundaries?
 
  (a) altkey
  (b) clientX / clientY
  (c) screenX / screenY
  (d) offsetX / offsetY



ebe

  • Sr. Member
  • ****
  • Posts: 320
Answer to Question 1

Ans: (b)

Answer to Question 2

Ans: (d)



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question


 

Did you know?

Calcitonin is a naturally occurring hormone. In women who are at least 5 years beyond menopause, it slows bone loss and increases spinal bone density.

Did you know?

Eat fiber! A diet high in fiber can help lower cholesterol levels by as much as 10%.

Did you know?

Many people have small pouches in their colons that bulge outward through weak spots. Each pouch is called a diverticulum. About 10% of Americans older than age 40 years have diverticulosis, which, when the pouches become infected or inflamed, is called diverticulitis. The main cause of diverticular disease is a low-fiber diet.

Did you know?

All adverse reactions are commonly charted in red ink in the patient's record and usually are noted on the front of the chart. Failure to follow correct documentation procedures may result in malpractice lawsuits.

Did you know?

More than 34,000 trademarked medication names and more than 10,000 generic medication names are in use in the United States.

For a complete list of videos, visit our video library