Return the password part of a link:
The result of x will be:
The password property sets or returns the password part of the href attribute value.
In a URL, the password part is the password entered by the user. It is specified after the username and before the hostname.
Tip: Use the username property to set or return the username part of the href attribute value.
The password property is supported in all major browsers, except Internet Explorer and Safari.
Note: The password property is not supported in Opera version 12 (and earlier).
Return the password property:
Set the password property:
|password||Specifies the password part of a URL|
|Return Value:||A String, representing the password part of the URL|
Change the password part of a link: