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



>

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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