We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
new Element
1 parent f71bb85 commit 6abe2a6Copy full SHA for 6abe2a6
test/unit/dom_test.js
@@ -1135,6 +1135,12 @@ new Test.Unit.Runner({
1135
1136
elWithClassName = new Element('div', { 'class': 'firstClassName' });
1137
this.assert(elWithClassName.hasClassName('firstClassName'));
1138
+
1139
+ var radio = new Element('input', { type: 'radio', value: 'test' });
1140
+ this.assert(radio.value === 'test', 'value of a dynamically-created radio button');
1141
1142
+ var radio2 = new Element('input', { type: 'radio', value: 'test2' });
1143
+ this.assert(radio2.value === 'test2', 'value of a dynamically-created radio button');
1144
},
1145
1146
testElementGetHeight: function() {
0 commit comments