A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/ja/docs/Web/API/HTMLAreaElement/toString below:

HTMLAreaElement: toString() メソッド - Web API

HTMLAreaElement: toString() メソッド

Baseline Widely available

HTMLAreaElement.toString() は文字列化メソッドで、 URL 全体の入った文字列を返します。 これは、 HTMLAreaElement.href の読み取り専用バージョンです。

構文 引数

なし。

返値

この要素の完全な URL の入った文字列です。

例 エリア要素で toString を呼び出す
// <area id="myArea" href="/ja/docs/HTMLAreaElement"> 要素が文書にあったとします
const area = document.getElementById("myArea");
area.toString(); // 'https://developer.mozilla.org/ja/docs/HTMLAreaElement' を返す
仕様書 ブラウザーの互換性 関連情報

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4