The location Object's href Property

By: Dusty Arlia
Published on Friday, July 26, 2013, 09:56 PM
Last Updated on Sunday, July 12, 2015 at 7:52 AM
Total Updates: 2

The location object of the BOM (Browser Object Model) has a property called href. This property holds the value of the entire URL. To access the URL, use this syntax:

location.href

Comments:

Ad: