MCQ Practice Single Best Answer Topic: Javascript Scripted HTTP MCQ

Q Which property aids in the initiation of HTTP requests?

Question ID
#5212
Subchapter
Javascript Scripted HTTP MCQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A request
  • B location
  • C send
  • D write
Correct Answer: B

Explanation

However, JavaScript code can be used to script HTTP.
When a script sets the location property of a window object or calls the submit() method of a form object, HTTP requests are initiated.
The location object is a component of the window object and can be accessed via the window. Location is a property.

Share This Question

Share this MCQ with your friends or study group.