Skip to content

Commit

Permalink
[e] (0) <button> example.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3821 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 13, 2009
1 parent 907a957 commit e76a6c0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions index
Expand Up @@ -35699,6 +35699,18 @@ You cannot complete this form until the field is correct.</samp></pre>

</div>

<div class=example>

<p>The following button is labeled "Show hint" and pops up a dialog
box when activated:</p>

<pre>&lt;button type=button
onclick="alert('This 15-20 minute piece was composed by George Gershwin.')"&gt;
Show hint
&lt;/button&gt;</pre>

</div>




Expand Down
12 changes: 12 additions & 0 deletions source
Expand Up @@ -39800,6 +39800,18 @@ You cannot complete this form until the field is correct.</samp></pre>

</div>

<div class="example">

<p>The following button is labeled "Show hint" and pops up a dialog
box when activated:</p>

<pre>&lt;button type=button
onclick="alert('This 15-20 minute piece was composed by George Gershwin.')">
Show hint
&lt;/button></pre>

</div>




Expand Down

0 comments on commit e76a6c0

Please sign in to comment.