<form id="c"> <input><input><input><input><input> </form> <script> alert( document.getElementById('c') ) // [object HTMLFormElement] </script>