Browse files

[e] (0) <button> example.

git-svn-id: http://svn.whatwg.org/webapps@3821 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 907a957 commit e76a6c037f6cba7ab9cf75114b328604638a9413 @Hixie Hixie committed Sep 13, 2009
Showing with 24 additions and 0 deletions.
  1. +12 −0 index
  2. +12 −0 source
View
12 index
@@ -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>
+
View
12 source
@@ -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>
+

0 comments on commit e76a6c0

Please sign in to comment.