Skip to content
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (176)
  • Reference (2172)
  • Snippets (69)

Tag: JS Location

1SMARTchicken - Code Made Easy

Tag: JS Location

  • Tutorials (176)
  • Reference (2172)
  • Snippets (69)
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (176)
  • Reference (2172)
  • Snippets (69)
1SMARTchicken - Code Made Easy

Tag: JS Location

  • Tutorials (176)
  • Reference (2172)
  • Snippets (69)
  • Home
  • JS Location
JavaScript Reference

JavaScript – location.assign() Method

September 9, 2024 / JavaScript Methods, JavaScript Reference, Reference / JS Location

The location.assign() method loads a new document in the current browser window.

JavaScript Reference

JavaScript – location.hash Property

September 2, 2024 / JavaScript Properties, JavaScript Reference, Reference / JS Location

The location.hash property sets or returns the anchor part of a URL, including the # sign.

JavaScript Reference

JavaScript – location.host Property

September 2, 2024 / JavaScript Properties, JavaScript Reference, Reference / JS Location

The location.host property returns the host (IP address or domain) and port of a URL.

JavaScript Reference

JavaScript – location.hostname Property

September 2, 2024 / JavaScript Properties, JavaScript Reference, Reference / JS Location

The location.hostname property returns the host (IP address or domain) of a URL.

JavaScript Reference

JavaScript – location.href Property

September 2, 2024 / JavaScript Properties, JavaScript Reference, Reference / JS Location

The location.href property sets or returns the entire URL of the current page.

JavaScript Reference

JavaScript – location.origin Property

September 2, 2024 / JavaScript Properties, JavaScript Reference, Reference / JS Location

The location.origin property returns the protocol, hostname, and port number of a URL.

JavaScript Reference

JavaScript – location.pathname Property

September 2, 2024 / JavaScript Properties, JavaScript Reference, Reference / JS Location

The location.pathname property returns the pathname of a URL.

JavaScript Reference

JavaScript – location.port Property

September 2, 2024 / JavaScript Properties, JavaScript Reference, Reference / JS Location

The location.port property returns the port number of a URL.

JavaScript Reference

JavaScript – location.protocol Property

September 2, 2024 / JavaScript Properties, JavaScript Reference, Reference / JS Location

The location.protocol property returns the protocol of the current URL, including the colon (:).

JavaScript Reference

JavaScript – location.reload() Method

September 9, 2024 / JavaScript Methods, JavaScript Reference, Reference / JS Location

The location.reload() method reloads the current document, just as if the browser reload button was clicked.

JavaScript Reference

JavaScript – location.replace() Method

September 9, 2024 / JavaScript Methods, JavaScript Reference, Reference / JS Location

The location.replace() method replaces the current document in the browser with a new one.

JavaScript Reference

JavaScript – location.search Property

September 2, 2024 / JavaScript Properties, JavaScript Reference, Reference / JS Location

The location.search property returns the querystring part of a URL, including the question mark (?).

or View All Tags

Tutorials

  • HTML Tutorials (40)
  • CSS Tutorials (45)
    • CSS Flexbox (12)
  • JavaScript Tutorials (6)
  • jQuery Tutorials (13)
  • PHP Tutorials (0)
  • SQL Tutorials (0)
  • Python Tutorials (72)
    • Python File Handling (4)
    • Python and MySQL (4)
  • WordPress Tutorials (0)

Reference

  • HTML Reference (244)
    • HTML Tags (107)
    • HTML Attributes (46)
    • HTML Events (76)
    • HTML Resources (15)
  • CSS Reference (309)
    • CSS Selectors (55)
    • CSS Properties (220)
    • CSS Functions (17)
    • CSS Resources (17)
  • JavaScript Reference (555)
    • JavaScript Selectors (7)
    • JavaScript Operators (12)
    • JavaScript Statements (17)
    • JavaScript Methods (284)
    • JavaScript Properties (162)
    • JavaScript RegExp (45)
    • JavaScript Resources (28)
  • jQuery Reference (220)
    • jQuery Selectors (54)
    • jQuery Methods (140)
    • jQuery Ajax Methods (16)
    • jQuery Properties (17)
    • jQuery Resources (9)
  • PHP Reference (460)
    • PHP Keywords (59)
    • PHP Functions (400)
    • PHP Constants (0)
    • PHP Resources (1)
  • SQL Reference (290)
    • SQL Keywords (59)
    • MySQL Functions (138)
    • SQL Server Functions (83)
    • SQL Resources (10)
  • Python Reference (94)
    • Python Methods (86)
    • Python Resources (8)
  • WordPress Reference (0)

Snippets

  • HTML Snippets (3)
  • CSS Snippets (12)
  • JavaScript Snippets (5)
  • jQuery Snippets (8)
  • PHP Snippets (1)
  • SQL Snippets (3)
  • Python Snippets (1)
  • WordPress Snippets (36)
1SMARTchicken - Code Made Easy

333 Washington Blvd.
Suite 126
Marina del Rey, CA 90292
United States

contact2025@1smartchicken.com

  • About Us
  • Privacy Policy
  • Cookie Policy
  • Terms & Conditions

Search for Code:

or View All Tags

Copyright © 2025 1SMARTchicken | All Rights Reserved.