| Web Developer Resources | |
Javascript Help: LOCATION Object
JavaScript can be used to access a number of DOM (Document Object Model)
Objects. Here is the LOCATION object and it's internals.
https://esqsoft.com/javascript-help/javascript-location-object | Property | Value | ancestorOrigins | [object DOMStringList] | href | https://esqsoft.com/javascript-help/javascript-location-object | origin | https://esqsoft.com | protocol | https: | host | esqsoft.com | hostname | esqsoft.com | port | | pathname | /javascript-help/javascript-location-object | search | | hash | | assign | function assign() { [native code] } | reload | function reload() { [native code] } | replace | function replace() { [native code] } | toString | function toString() { [native code] } | Script: Expose (expose DOM element) -- << click here to copy code >> More Web Stuff: Tools, How-To, Design, Games, Hosting @ http://www.esqsoft.com |
Tip:
This example uses a small script library to expose the properties and methods
of a passed object. You can use it from where it lives on the web during your own
development, or download it and tweak to suite your needs.
View the source of expose.js for additional info.
Here's an example of it's usage:
Related Keywords: define, javascript, location, object
|