JavaScript Bible, Gold Edition part 27

JavaScript Bible, Gold Edition part 27. This book will bring programmers and non-technical professionals, including casual programmers and scripters, painlessly up to speed on all aspects of mastering JavaScript. Key topics include programming fundamentals, JavaScript language elements and how to use them effectively, and how to easily and efficiently add powerful new functionality to HTML documents and Java applets. | 108 Part III Document Objects Reference Table 15-1 continued Properties Methods Event Handlers language removeBehavior onMouseOver lastChild removeChild onMouseUp length removeEventListener onPaste localName removeExpression onPropertyChange namespaceURI removeNode onReadyStateChange nextSibling replaceAdjacentText onResize nodeName replaceChild onResizeEnd nodeType replaceNode onResizeStart nodeValue scrollIntoView onSelectStart offsetHeight setActive offsetLeft setAttribute offsetParent setAttributeNode offsetTop setCapture offsetWidth setExpression outerHTML supports outerText swapNode ownerDocument tags parentElement urns parentNode parentTextEdit prefix previousSibling readyState recordNumber runtimeStyle scopeName scrollHeight scrollLeft scrollTop scrollWidth elementobject Chapter 15 Generic HTML Element Objects 109 Properties Methods Event Handlers sourceindex style tabindex tagName tagUrn title uniqueiD Syntax To access element properties or methods use this IE4 . method parameters IE5 NN6 odjectlo .property method parameters About these objects All objects listed in Table 15-1 are DOM representations of HTML elements that influence either the font style or the context of some HTML content. The large set of properties methods and event handlers associated with these objects also applies to virtually every other DOM object that represents an HTML element. Discussions about object details in this chapter apply to dozens of other objects described in succeeding chapters of this reference section. Properties accessKey Value One-Character String Read Write NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility For many elements you can specify a keyboard character letter numeral or punctuation symbol that when typed as an Alt key combination on the Win32 OS platform or Ctrl key combination on the MacOS brings focus to that element. An element that has focus is the one that is set to respond to keyboard .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.