ExamVeda
Login
Home
Document Object Model and Event Handling
?

What is the purpose of the method getUserData(key)?

Answer & Solution
Correct Answer: Option A
The method getUserData(key) returns the object associated to a key on a this node. The object must first have been set to this node by calling setUserData with the same key.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.