(リンク) pathname |
          |
パス名を参照または設定します |
- 書式
- location.pathname
- document.★.pathname
- ★=links[ 参照番号 ] または エリア名
- 文例
- path = location.pathname
- location.pathname="/~openspc/"
- nextPath = document.links[0].pathname
- 上位オブジェクト
- location, links, area
- 説明
- <A HREF="〜">などで設定されたリンク先または現在のページのパス名を参照または設定します。
- 関連
hash,
host,
hostname,
href,
port,
protocol,
search,
target