diff --git a/source/UI/js/Form/Input.js b/source/UI/js/Form/Input.js index 0d079e63..bce4e153 100644 --- a/source/UI/js/Form/Input.js +++ b/source/UI/js/Form/Input.js @@ -143,6 +143,9 @@ Ox.Input = function(options, self) { setPlaceholder(); } else if (key == 'readonly') { self.$input.attr({readonly: value}); + } else if (key == 'type') { + // jQuery does not allow update via attr({type: value}) due to IE 6 bug + self.$input[0].type = value } else if (key == 'value') { if (self.options.type == 'float' && self.options.decimals) { self.options.value = self.options.value.toFixed(self.options.decimals);