Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
password property of the
interface is a string containing the password specified before the
If it is set without first setting the
username property, it
string = object.password; object.password = string;
// Let's <a id="myAnchor" href="https://anonymous:email@example.com/en-US/docs/location.username"> be in the document var anchor = document.getElementByID("myAnchor"); var result = anchor.password; // Returns:'flabada'
BCD tables only load in the browser