Obtenir le type de contrôle à l'aide de JavaScript

"button"
nodes.length
Old-fashioned Oystercatcher