No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
How to render a simple push button | How to render a simple push button | ||
===Description=== | ===Description=== | ||
Elements of type button are rendered as simple push buttons, which can be programmed to control custom functionality anywhere on a webpage as required when assigned an event handler function | Elements of type button are rendered as simple push buttons, which can be programmed to control custom functionality anywhere on a webpage as required when assigned an event handler function. | ||
===Parameters=== | ===Parameters=== | ||
type="button" | type="button" | ||
| Line 13: | Line 13: | ||
===Example=== | ===Example=== | ||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> | ||
<_input type="button" name="btn" | <_input type="button" name="btn">Click me</_input> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<_input type="button" name="btn" | <_input type="button" name="btn">Click me</_input> | ||
===Note=== | ===Note=== | ||
The FlexForm button however renders a button HTML attribute and not a input type="button". This will give you more freedom and is actually prefered. See the Link in the Links section for all the options. | |||
===Links=== | ===Links=== | ||
https://developer.mozilla.org/en-US/docs/Web/HTML/Element | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | ||
Revision as of 21:19, 24 February 2022
Name
button
Type
_input
Synopsis
How to render a simple push button
Description
Elements of type button are rendered as simple push buttons, which can be programmed to control custom functionality anywhere on a webpage as required when assigned an event handler function.
Parameters
type="button"
All other valid parameters for an input field are valid
Example
<_input type="button" name="btn">Click me</_input>
Note
The FlexForm button however renders a button HTML attribute and not a input type="button". This will give you more freedom and is actually prefered. See the Link in the Links section for all the options.
Links
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button