tailieunhanh - JavaScript Bible, Gold Edition part 29
JavaScript Bible, Gold Edition part 29. 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. | 128 Part III Document Objects Reference The isDisabled property returns a Boolean value that indicates whether a particular element object is set to be disabled see the preceding discussion of the disabled property . This property is helpful if a parent element s disabled property is set to true then a nested element s disabled property likely is set to its default value of false. But because its parent is disabled the isDisabled property of the nested element returns true. In other words the isDisabled property returns the actual disabled status of an element regardless of its disabled property. On the Example on the CD-ROM CD-ROM r Related Item disabled property. isMultiLine Value Boolean Read-Only NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility The isMultiLine property returns a Boolean value that reveals whether the element object is capable of occupying or displaying more than one line of text. Importantly this value does not reveal whether the element actually occupies multiple lines rather it indicates the potential of doing so. For example a text INPUT element cannot wrap to multiple lines so its isMultiLine property is false. However a BUTTON element can display multiple lines of text for its label so it reports true for the isMultiLine property. On the Example on the CD-ROM CD-ROM isTextEdit Value Boolean Read-Only NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility The isTextEdit property reveals whether an object can have an IE Windows TextRange object created with its content. See the TextRange object in Chapter 19. You can create TextRange objects only from a limited selection of objects in IE4 for Windows BODY BUTTON certain form elements text password hidden Chapter 15 Generic HTML Element Objects 129 button reset and submit types and TEXTAREA. This property always returns false in IE5 Mac. Example on the CD-ROM On the CD-ROm Related Items createRange method TextRange object Chapter 19 . lang Value ISO .
đang nạp các trang xem trước