asp.net.ph

Skip Navigation Links

port Property

location Properties   DHTML Objects


Sets or retrieves the port number in a URL.

Syntax

HTML N/A
Script object.port [ = sPort ]

Possible Values

sPort String specifying the URL's port number.

The property is read/write with no default value.

Remarks

If no port is specified, an empty string is returned.

Applies To

A, AREA, location


Need a break ?
Suggested Reading

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph.

If you have any question, comment or suggestion,
please send us a note