document.charset

ページで使用されている文字コードを参照/設定します。Internet Explorer、Opera、iCab 3以降で利用できます。

構文

document.charset

例文

<html>
 <head>
  <title>document.charset</title>
</head>
 <body>
  <script type="text/javascript"><!--
   document.write(document.charset);
  // --></script>
 </body>
</html>

関連記事

スポンサーリンク

IS NULL演算子 NULL値であるか

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る