I will share with you today the elevation, Version 2, chapter 11, dom2, and dom3
Throughout this chapter, Dom is changing, and changing in the future.
However, ie does not support dom2 or dom3. In the future, some new versions may support dom2 or dom3.
It is not common to select text, copy and select text. Probably skipped.
Mainly useful, there are several.
Get the current style, dynamically Insert the style,
This style refers to <Div class = "current"> </div>
. Current {} to get the style.
IE: currentstyle
Non-ie: getcomputedstyle
ReferenceArticle:
Http://hi.baidu.com/216syy/blog/item/a762b2b4d82ba0748bd4b283.html
We recommend that you use obj.style.css text = '';
Float, ie is different from non-ie.
References:
Http://snandy.javaeye.com/blog/459186
There are also some common table operations,
Insertrow () inserts a row
Insertcell () inserts a cell
The table is mainly used for B/s development,
There are also createcation (), createtfoot (), and createthead.
References:
Http://hi.baidu.com/wynote/blog/item/49fc36c39ca0cd5db219a802.html
There is also a question about the location.
Clientwidth, offsetwidth, scrollleft, and so on.