Side navigation
#1085 closed bug (worksforme)
Opened March 29, 2007 05:20PM UTC
Closed April 07, 2007 05:43PM UTC
Cannot undisable disabled hidden fields
Reported by: | aichinge | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.1.3 |
Component: | core | Version: | 1.1.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi, I use 1.1.2 version and I try this ".EnFormPassiveinput[@type='hidden']" or ".EnFormPassive:hidden" selector to enable and disable hidden fields. Ex.:
disable:
$(".EnFormPassiveinput[@type='hidden']").attr("disabled", "true");
enable:
$(".EnFormPassiveinput[@type='hidden']").attr("disabled", "false");
or
$(".EnFormPassive//input[@type='hidden']").removeAttr("disabled");
HTML for this is that there are about 5 DIVs with EnFormPassive class, they contain some fieldsets, or fieldsets in fieldset and in this fieldsets are hidden fields.
It disable it correctly, but jQuery doesn't find any element to enable! They are accessible only throught their IDs, but it is not so dynamic.
I could not duplicate this problem in either FF or IE. I used the following script and the hidden input was always found: