Template:Ajax
From DFM Wiki
Revision as of 13:28, 12 July 2021 by EricThrift (talk | contribs) (Created page with "<div id="ajax_load" style="border:solid 1px #eee; padding:1em;"> {{{instructions|Press the button below to load.}}} <span class="mw-ui-button mw-ui-progressive" id="ajax-butt...")
Press the button below to load.
This template creates a container with a button that, when pressed, will run an external script and load the content returned by that script.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Instructions | instructions | Instruction message for the ajax script | Unknown | optional |
Script | script | Path to the script. This should return html that will be displayed on completion of a successful request.
| Unknown | required |
Action | action | Text for the button
| Unknown | optional |