CD-140 Part VI . Appendixes Press the Tab (Web proxy server)

CD-140 Part VI . Appendixes Press the Tab key several times until the paragraph receives focus. Now, disable the focus rectangle: document.all.myP.hideFocus = true If you now press the Tab key several times, the dotted rectangle does not appear around the paragraph. To prove that the element still receives focus, scroll the page down to the bottom so that the paragraph is not visible (you may have to resize the window). Click one of the focusable elements at the bottom of the page, and then press the Tab key slowly until the Address field toolbar has focus. Press the Tab key once. The page scrolls to bring the paragraph into view, but there is no focus rectangle around the element. id NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example Rarely do you need to access this property in a script unless you write an authoring tool that iterates through all elements of a page to extract the IDs assigned by the author. You can retrieve an object reference once you know the object s id property (via the document.getElementById(elemID) method). But if for some reason your script doesn t know the ID of, say, the second paragraph of a document, you can extract that ID as follows: var elemID = document.all.tags( P )[1].id innerHTML innerText NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility ( ) elementObject.innerHTML
Visit our web design programs services for an affordable and reliable webhost to suit all your needs.

Leave a Reply