Send onChange
This is a component that allows you to send data from an input to the server when it's updated.
This can be added in form elements only, input, select and textarea. Add class send-to-server-change
to the element you want to update on change.
Attribute options are;
loader
Optional
"true" or "false"
when true, a loader will be shown when button is clicked and hidden when set false.
url
required
url
the path to where the form will be submitted
name
required
name will be the key of the data when sent to the server
extradata
required
string. example username:johnd|name:John Doe|email:john@example.com. Separate a key from value with full colon
:
and separate each group with|
Response
Responses should be JSON, please refer to the server response page for more information.
Last updated