Roo/bootstrap/Element.js
authoredward <edward@roojs.com>
Fri, 6 Nov 2015 03:14:43 +0000 (11:14 +0800)
committeredward <edward@roojs.com>
Fri, 6 Nov 2015 03:14:43 +0000 (11:14 +0800)
Roo/bootstrap/Element.js

index 1d4ed1b..1301a78 100644 (file)
@@ -40,6 +40,16 @@ Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component,  {
         
        
         return cfg;
+    },
+    
+    getValue : function()
+    {
+        return this.el.dom.innerHTML;
+    },
+    
+    setValue : function(value)
+    {
+        this.el.dom.innerHTML = value;
     }
    
 });