KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need a way to determine the type of an HTML element in JavaScript. It has the ID, but the element itself could be a <div> , a <form> field, a <fieldset> , etc. How can I achieve this?
Tags (comma-separated)
Save Edits
Cancel