DOM Check was a snippet of code I found early in my education of JavaScript. I still use it occasionally. It will show all the DOM objects in your page. DOM Check is very easy to use. Simply add the button inside your form, and the Javascript to the bottom of your HTML page prior to the closing BODY tag.
<input type="button" name="elementbutton" value="Display form elements" onClick="showFormElements(this.form)"> <script language="javascript"> function showFormElements(theForm) { str="Form Elements: "; for (i=0; i<theForm.length; i++) { str+=" \n "+theForm.elements[i].name + " = " + theForm.elements[i].value + " , " + theForm.elements[i].checked } alert(str) } </script>![]()