NIELIT O Level Exam

Why event handlers is needed in JS?

Why event handlers is needed in JS?

जेएस में इवेंट हैंडलर की आवश्यकता क्यों है?

A. Allows JavaScript code to alter the behaviour of windows जावास्क्रिप्ट कोड को विंडोज़ के व्यवहार को बदलने की अनुमति देता है

B. Adds innerHTML page to the code कोड में आंतरिक HTML पृष्ठ जोड़ता है

C. Change the server location सर्वर स्थान बदलें

D. Performs handling of exceptions and occurrences अपवादों और घटनाओं का प्रबंधन करता है




Correct Answer is :

A. Allows JavaScript code to alter the behaviour of windows



Explanation
JS code can change the behavior of windows, documents, and the elements that make up those documents via event handlers.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad