javascript location port
| port | NN 2 IE 3 DOM n/a |
| Read/Write | |
|
Provides the port component of the URL, if one exists. This consists of all URL information following the colon after the last character of the domain name. The colon is not part of the port property value. |
|
| Example | |
location.port = "80"; |
|
| Value | |
String (a numeric value as string). |
|
| Default | |
None. |
|
Previous: javascript location protocol
1205,Nickname,Homepage or email,Comments here,Add comment
