Dojo Inline Edit Box
In this section, you will learn how to edit any data. The InlineEditBox provides the better facility for editing any data and save it.
InlineEditBox describes a widget wrapper that takes a child widget declared in markup and makes it inline-editable. This widget performs the role as a <div> tag when not in edit mode. When you click widget text then it open as an editable mode. In this mode, you edit the text and save it. Whenever you don't save the editable text then it can't be save so, after editing the text you must have to save it. Without editing text you can't be save it.
Here is the code of Program:
<html>
|
Output of Program:
When you click the following text then it open as editable mode:
After editing it, save it:
Then you get: