Question: Find and correct the Errors in the Following DOM based Event handling Program 1. 2. 3. 5. function whichElement (e) 6. var targ 7. if

Click somewhere in the document. An alert box will 21. alert the name of the element you clicked on.
23This is a heading 25
This is a paragraph.
htStep by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
