JavaScript: The Definitive Guide, Sixth Editio javaScript权威指南(第6版) pdf 文字版-文字版, javascript电子书, 和javascript 有关的电子书:

13.1.1 JavaScript in Web Documents

13.1.1 JavaScript in Web Documents


A JavaScript program can traverse and manipulate document content through the Document object and the Element objects it contains. It can alter the presentation of that content by scripting CSS styles and classes. And it can define the behavior of document elements by registering appropriate event handlers. The combination of scriptable content, presentation, and behavior is called Dynamic HTML or DHTML, and techniques for creating DHTML documents are explained in Chapters 15 , 16 , and 17 .

The use of JavaScript in web documents should usually be restrained and understated. The proper role of JavaScript is to enhance a user’s browsing experience, making it easier to obtain or transmit information. The user’s experience should not be dependent on JavaScript, but JavaScript can help to facilitate that experience, for example by:

欢迎转载,转载请注明来自一手册:http://yishouce.com/book/1/31407.html
友情链接It题库(ittiku.com)| 版权归yishouce.com所有| 友链等可联系 admin#yishouce.com|粤ICP备16001685号-1