1. Basic DOM operation
var a=document.getelementbyid (' ma1 '). innerhtml;/Gets the HTML code alert (document.getElementById (' ma1 '). GetAttribute ("id"));//Gets the property alert (document.getElementById (' ma2 '). value);//Get the values
2, get the value of select and text information, jquery is very simple.
var // Location ID var // Check Index var // Select text var // checked Values
3. Get the basic operation of DOM
var a=document.getelementbyid (' ma1 ')var a=document.getelementsbytagname (' P ') var a=document.getelementsbyname (' N1 ') getelementsbyclassname
4, how to find a layer on the front side first, the back side of the first, the front side all, the back side all, their siblings. Their own sons and daughters, their grandchildren. How to write using native JS.
5, there is a form form, I want to verify, and then submit, how to do it!
6.
Native JS Development notes