EditableContent functional test

Contents of this span can be edited when clicking on it. When editing you can press ENTER to save changes or press ESC to discard changes. This span was made editable through script Control.EditableContent.init(spanId);

Click me!

Values in this table also can be edited.

Value in first row is editable with help of attribute onclick="Control.EditableContent.onClickHandler(event);" (which is more correct)

Value in second row is editable with help of attribute onclick="Control.EditableContent.beginEdit(this);" (which is more simple). Also editor is trying to fit itself into table cell.

Value in last row is editable in textarea.

Names Values (editable)
Name 1 Value 1
Name 2 Value 2
Name 3 Lorem ipsum dolor sit amet

Press this button to test "oncomplete" and "oncancel" user event handlers.