]> source.dussan.org Git - jquery.git/commitdiff
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 0d3be388cce0ba49ccfaa555427748b44e05f9b5..30cd8f1b447f41612b235d56c7c64f212ceb10eb 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); },