this

オブジェクト自身を示します。

構文

this

例文

<html>
 <head>
  <title>this</title>
  <script type="text/javascript"><!--
  function check(aObj) {
   alert(aObj.value);
  }
  // --></script>
 </head>
 <body>
 <form>
  <input type="button" value="Click" onClick="check(this)">
 </form>
 </body>
</html>

関連記事

スポンサーリンク

SDカード・microSDカードの規格

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

上に戻る