it is strange!
when i create a dynamic input(checkbox type), i can control checked is true or false, but when i create it with disable default, it sets input to checked!
here is my code:
var theInput = new $('<input>', {
id: 'myCheckbox',
name: 'myCheckbox',
type: "checkbox",
disabled: true,
checked: false
});
theInput.uniform();
it adds disabled but checked input,
var theInput = new $('<input>', {
id: 'myCheckbox',
name: 'myCheckbox',
type: "checkbox",
disabled: true,
checked: true
});
theInput.uniform();
if i set checked to true, then it adds disabled and unchecked input why?
i changed "checked" to checked, but there is no diffrence.
i complete my code, problem is in uniform, when i uniform it, it changed property!
checked:trueshould work just fine - PlantTheIdea