Opened 16 years ago
Closed 16 years ago
#1085 closed bug (worksforme)
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 ".EnFormPassive//input[@type='hidden']" or ".EnFormPassive//:hidden" selector to enable and disable hidden fields. Ex.:
disable: $(".EnFormPassive//input[@type='hidden']").attr("disabled", "true");
enable: $(".EnFormPassive//input[@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.
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
need: | Patch → Review |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Seems to work for Mike, closing.
I could not duplicate this problem in either FF or IE. I used the following script and the hidden input was always found: