blob: ae59d67d2f6b717ac31efb20938404ed9438a0a6 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004, 2005 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<document>
<properties>
<title>Button</title>
</properties>
<body>
<section name="Button">
<p>
Provides a HTML form button element <code>&lt;button&gt;</code> for attaching
JavaScript onclick event handlers.
</p>
<p>
<strong>
See also:
<a href="form.html">Form</a>,
<a href="../general/script.html">Script</a>,
<a href="submit.html">Submit</a>
</strong>
</p>
<section name="Parameters">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Required</th>
<th>Default</th>
<th>Description</th>
</tr>
<tr>
<td>lable</td>
<td>String</td>
<td>no</td>
<td></td>
<td>
The label put on the button (this becomes the HTML value attribute).
</td>
</tr>
<tr>
<td>disabled</td>
<td>boolean</td>
<td>no</td>
<td>false</td>
<td>
If set to true, the button will be disabled (will not respond to the
mouse); the browser should provide a "greyed out" appearance.
</td>
</tr>
</table>
<p>
Body:
<strong>removed</strong>
</p>
<p>
Informal parameters:
<strong>allowed</strong>
</p>
<p>
Reserved parameters:
<em>name, type</em>
</p>
</section>
</section>
</body>
</document>