Document Object Model And Event Handling(Javascript ) Questions and Answers
Explanation:-
Answer: Option B. -> locationIt is possible for JavaScript code to script HTTP, however. HTTP requests are initiated when a script sets the location property of a window object or calls the submit() method of a form object. In both cases, the browser loads a new page.
Explanation:-
Answer: Option A. -> submit()It is possible for JavaScript code to script HTTP, however. HTTP requests are initiated when a script sets the location property of a window object or calls the submit() method of a form object. In both cases, the browser loads a new page.