JavaScript Bible, Gold Edition part 54. 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. | 378 Part III Document Objects Reference URL See location. URLUnencoded Value String Read-Only NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility The property returns a URL-encoded string meaning that nonalphanumeric characters in the URL are converted to URL-friendly characters for example a space becomes 20 . You can always use the unescape function on the value returned by the property but the URLUnencoded property does that for you. If there are no URL-encoded characters in the URL then both properties return identical strings. Related Items property. vlinkColor See alinkColor. width See height. Methods captureEvents eventTypeList Returns Nothing. NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility In Navigator 4 only the natural propagation of an event is downward from the window object through the document object and eventually reaching its target. For example if you click a button the click event first reaches the window object then it goes to the document object if the button is defined within a layer the event also filters through that layer eventually in a split second the event reaches the button where an onClick event handler is ready to act on that click. The NN4 mechanism allows window document and layer objects to intercept events and process them prior to reaching their intended targets or preventing them from reaching their destinations entirely . But for an outer container to grab an event your script must instruct it to capture the type of event your application Chapter 18 The Document and Body Objects 379 is interested in preprocessing. If you want the document object to intercept all events of a particular type use the method to turn that facility on. Note Event capture with different syntax has been standardized in the W3C DOM and is implemented in NN6. See the addEventListener method in Chapter 15 for the W3C counterpart to the NN4 captureEvents .