i'd disable section of html form elements depending on conditions. seems ideal way that:
<fieldset disabled> <input value="one" /> <input value="two" /> </fieldset>
now, 2 inputs disabled. however, seems totally borked on ie8. inputs appear disabled can still type in them.
fiddle (not if jsfiddle works in ie8)
is there cross-browser solution problem, without adding disabled every form element (which complicate script). tricky select <fieldset>
in jquery, .each()
through form elements , disable them - however, i'm setting disabled
attribute using knockout binding there's no place add such code. last resort use custom knockout binding disables children too, le sigh.
in short: no. reason behind because lack of support in ie8 , disabled
attribute on fieldset
element.
in ie7 , ie8, attribute disables form elements in < legend >.
i'm afraid should custom solution answers other users / own custom binding.
Comments
Post a Comment