Added .value to the env impl.
authorJohn Resig <jeresig@gmail.com>
Sun, 8 Jul 2007 07:02:36 +0000 (07:02 +0000)
committerJohn Resig <jeresig@gmail.com>
Sun, 8 Jul 2007 07:02:36 +0000 (07:02 +0000)
build/runtest/env.js

index 0d3be38..30cd8f1 100644 (file)
@@ -296,6 +296,9 @@ var window = this;
                get type() { return this.getAttribute("type") || ""; },
                set type(val) { return this.setAttribute("type",val); },
                
+               get value() { return this.getAttribute("value") || ""; },
+               set value(val) { return this.setAttribute("value",val); },
+               
                get src() { return this.getAttribute("src") || ""; },
                set src(val) { return this.setAttribute("src",val); },