DEPRECATED: dijit.form.TextBox::attr() is deprecated. Use get() or set() instead, called from function(w){
_5[w.id]=w.disabled;
w.attr("disabled",true);
} -- will be removed in version: 2.0
DEPRECATED: dijit.form.TextBox::attr() is deprecated. Use get() or set() instead, called from function(w){
var _6=_5[w.id];
if(_6==undefined){
_6=false;
}
w.attr("disabled",_6);
} -- will be removed in version: 2.0
DEPRECATED: dijit.form.CheckBox::attr() is deprecated. Use get() or set() instead, called from function(){
this.checkBox.attr("value",this.option.selected);
} -- will be removed in version: 2.0
2 tests to run in
1 groups
------------------------------------------------------------
GROUP "tests" has
2 tests to run
DEPRECATED: dijit.form.Form::attr() is deprecated. Use get() or set() instead, called from function test_getValues(t){
t.is({
dropDown: "first",
dropDownFirstBox: "First Value",
radio: "second",
radioSecondBox2: "Radio Another Value",
dual: "second",
dualSecondBox: "Dual First Value on Second (RO)",
dualSecondBox2: "Dual Another Value"
}, form.attr("value"));
} -- will be removed in version: 2.0
_AssertFailure: doh._AssertFailure: assertEqual() failed:
expected
[object Object]
but got
[object Object]
: assertEqual() failed:
expected
[object Object]
but got
[object Object]
FAILED test: test_getValues
1 ms
DEPRECATED: dijit.form.Form::attr() is deprecated. Use get() or set() instead, called from function test_setValues(t){
form.attr("value", {
dropDown: "first",
dropDownSecondBox: "Changed First Value",
radio: "first",
radioFirstBox: "Changed Radio Value",
radioSecondBox: "Changed disabled value",
dual: "first",
dualFirstBox: "Changed Dual (DIS)",
dualSecondBox: "Changed read only value",
dualSecondBox: "Changed me too"
});
t.is({
dropDown: "first",
dropDownFirstBox: "First Value",
radio: "first",
radioFirstBox: "Changed Radio Value",
dual: "first"
}, form.attr("value"));
form.attr("value", {
dropDown: "second",
radio: "second",
dual: "second"});
t.is({
dropDown: "second",
dropDownSecondBox: "Changed First Value",
dropDownSecondBox2: "Another Value",
radio: "second",
radioSecondBox2: "Radio Another Value",
dual: "second",
dualSecondBox: "Changed me too",
dualSecondBox2: "Dual Another Value"
}, form.attr("value"));
} -- will be removed in version: 2.0
Hover over HTML elements in the main page. Click to hold selection.