Latest web development tutorials
×

JavaScript & HTML DOM リファレンスマニュアル

概要

JavaScript オブジェクト

JavaScript Array オブジェクト JavaScript Boolean オブジェクト JavaScript Date オブジェクト JavaScript Math オブジェクト JavaScript Number オブジェクト JavaScript String オブジェクト JavaScript RegExp オブジェクト JavaScript グローバルプロパティ/関数 JavaScript 演算子

Browser オブジェクト

Window オブジェクト Navigator オブジェクト Screen オブジェクト History オブジェクト Location オブジェクト

DOM オブジェクト

HTML DOM Document オブジェクト HTML DOM Elementオブジェクト HTML DOM 属性オブジェクト HTML DOM イベントオブジェクト

HTML オブジェクト

<a> <area> <audio> <base> <blockquote> <body> <button> <canvas> <col> <colgroup> <datalist> <del> <details> <dialog> <embed> <fieldset> <form> <iframe> <frameset > <img> <ins> <input> - button <input> - checkbox <input> - color <input> - date <input> - datetime <input> - datetime-local <input> - email <input> - file <input> - hidden <input> - image <input> - month <input> - number <input> - range <input> - password <input> - radio <input> - reset <input> - search <input> - submit <input> - text <input> - time <input> - url <input> - week <keygen> <link> <label> <legend> <li> <map> <menu> <menuItem> <meta> <meter> <object> <ol> <optgroup> <option> <param> <progress> <q> <script> <select> <source> <style> <table> <td> <th> <tr> <textarea> <title> <time> <track> <video>

HTML DOM documentURIプロパティ

ドキュメント・オブジェクト・リファレンス ドキュメントオブジェクト

マニュアルの入手ローカルURI:

document.documentURI;

出力:

http://www.w3cschool.cc/jsref/prop-document-documenturi.html

»をお試しください

定義と使用法

documentURIプロパティは、ドキュメントの場所を設定または返します。

文書がDocumentImplementationオブジェクトによって作成された場合、またはそれが定義されていない場合は、nullを返します


ブラウザのサポート

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Internet Explorerブラウザと他のブラウザに加えて、documentURIプロパティをサポートしています。


文法

documentURIドキュメントの設定:

document.documentURI= locationURI

戻るdocumentURI:

document.documentURI

技術的詳細

戻り値: 文字列を、文書のURIの代表。
DOMバージョン コアレベル3ドキュメントオブジェクト


ドキュメント・オブジェクト・リファレンス ドキュメントオブジェクト