InlineEditor for Mootools
click on something to edit it (I've made everything editable blue, but this doesn't happen by default)
name:
Nathan Reed
email:
reednj@blah.com
twitter:
@reednj
website:
http://servralert.com
You can use a dropdown instead of a Text input with InlineEditor.Combo:
For small textboxes you can set the 'hide_buttons' option. (and use css to set the input width)
Set Minimum: 10 Set Maximum:
You can set a format code on numbers, so that appear with commas etc
Tonnes/hours: 10593.1
You don't have to set a url. You can use the onSuccess event to do things after the submit purely in js
White
Red
Green
Blue
Black
For editing larger volumes of text, use InlineEdit.Textarea.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum