現在のページアドレスを表示する

サンプルソース

<script language="Javascript">
<!--
    document.write(document.location);
-->
</script>

解説

document.locationは現在のページアドレスを返します。

サンプルソース



関連する内容



Copyright (C) JavaScript@Workshop All rights reserved.